From 628d5d0520d9a7c9877b8bda59caae260cce8707 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 4 Jul 2011 19:26:12 +0530 Subject: [PATCH] order files by -added --- edgware/files/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/files/models.py b/edgware/files/models.py index 635f0fb..dabcbc5 100755 --- a/edgware/files/models.py +++ b/edgware/files/models.py @@ -105,7 +105,7 @@ class File(models.Model): fts_fields = ['title', 'description'] class Meta: - ordering = ['title'] + ordering = ['-added'] @classmethod def filter_category(kls, category_id, qset):