mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
Patched sorting
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user