Adnane Belmadiaf has proposed merging lp:~daker/loco-directory/fix.635799 into 
lp:loco-directory.

Requested reviews:
  loco-directory-dev (loco-directory-dev)
Related bugs:
  Bug #635799 in LoCo Team Directory: "Sorting Re approvals in alphabetical 
order within date order"
  https://bugs.launchpad.net/loco-directory/+bug/635799

For more details, see:
https://code.launchpad.net/~daker/loco-directory/fix.635799/+merge/71786
-- 
https://code.launchpad.net/~daker/loco-directory/fix.635799/+merge/71786
Your team loco-directory-dev is requested to review the proposed merge of 
lp:~daker/loco-directory/fix.635799 into lp:loco-directory.
=== modified file 'loco_directory/teams/views.py'
--- loco_directory/teams/views.py	2011-07-24 15:12:36 +0000
+++ loco_directory/teams/views.py	2011-08-16 22:30:26 +0000
@@ -28,7 +28,7 @@
 
 def reapprovals(request):
     teams = filter(lambda a: a.approved and a.expires_date != None, 
-                   Team.objects.all().order_by('expires_date'))
+                   Team.objects.all().order_by('name', 'expires_date'))
     today = datetime.date.today()
     half_a_year = datetime.timedelta(days=180)
 # XXX: we have no idea why, but on loco.ubuntu.com we are dealing with

_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to