allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [5/5] git commit: [#2834] ticket:200 group rows by project on subscriptions page
Date Wed, 07 Nov 2012 20:05:09 GMT
[#2834] ticket:200 group rows by project on subscriptions page


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/a076cd3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/a076cd3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/a076cd3c

Branch: refs/heads/master
Commit: a076cd3c5555e5ef7f60e3de0fa64bac369a8b85
Parents: 396419a
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri Nov 2 13:02:33 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Wed Nov 7 19:59:42 2012 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/a076cd3c/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 7fdda6a..0c2c060 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -338,6 +338,7 @@ class PreferencesController(BaseController):
                     type=None,
                     frequency=None,
                     artifact=None))
+        subscriptions.sort(key=lambda d: (d['project_name'], d['mount_point']))
         api_token = M.ApiToken.query.get(user_id=c.user._id)
         provider = plugin.AuthenticationProvider.get(request)
         menu = provider.account_navigation()


Mime
View raw message