mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Patched sorting
This commit is contained in:
parent
550184cbae
commit
1c45ca10d4
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Log(models.Model):
|
||||||
component = models.PositiveIntegerField(choices=COMPONENTS)
|
component = models.PositiveIntegerField(choices=COMPONENTS)
|
||||||
|
|
||||||
class Meta(object):
|
class Meta(object):
|
||||||
ordering = ("time",)
|
ordering = ("-time",)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def error(cls, message, component):
|
def error(cls, message, component):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue