mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Patched sorting
This commit is contained in:
parent
550184cbae
commit
1c45ca10d4
@ -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…
x
Reference in New Issue
Block a user