allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [3/3] git commit: [#5861] ticket:284 fixed error in grouped_navbar_entries
Date Wed, 06 Mar 2013 16:10:01 GMT
Updated Branches:
  refs/heads/master dbc9c195e -> 31571da93


[#5861] ticket:284 fixed error in grouped_navbar_entries


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

Branch: refs/heads/master
Commit: 31571da93d9add9067388448b6fdb11f6858413c
Parents: 0d4bdf2
Author: Yuriy Arhipov <yuriyarhipovua@yandex.ru>
Authored: Wed Mar 6 11:53:08 2013 +0400
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Wed Mar 6 15:33:20 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/31571da9/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index f1535ed..d894ae0 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -474,8 +474,8 @@ class Project(MappedClass, ActivityNode, ActivityObject):
                 continue
             tool_name = e.tool_name.lower()
             if counts.get(tool_name, 1) <= grouping_threshold:
-                # don't need grouping, so just add it by label
-                grouped_nav[e.label] = e
+                # don't need grouping, so just add it directly
+                grouped_nav[id(e)] = e
             else:
                 # tool of a type we don't have in the navbar yet
                 if tool_name not in grouped_nav:


Mime
View raw message