git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e50dc5c
)
Removed ple prefix to the user query in topmenu
author
Loic Baron
<loic.baron@lip6.fr>
Fri, 24 Jan 2014 17:50:24 +0000
(18:50 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Fri, 24 Jan 2014 17:50:24 +0000
(18:50 +0100)
ui/topmenu.py
patch
|
blob
|
history
diff --git
a/ui/topmenu.py
b/ui/topmenu.py
index
be21db2
..
69a8dd3
100644
(file)
--- a/
ui/topmenu.py
+++ b/
ui/topmenu.py
@@
-69,7
+69,7
@@
from plugins.topmenuvalidation import TopmenuValidation
# for asynchronous management of topmenu
def topmenu_items_live (current, page):
request=page.request
# for asynchronous management of topmenu
def topmenu_items_live (current, page):
request=page.request
- query_pi_auths = Query.get('
ple:
user').filter_by('user_hrn', '==', '$user_hrn' ).select('pi_authorities')
+ query_pi_auths = Query.get('user').filter_by('user_hrn', '==', '$user_hrn' ).select('pi_authorities')
page.enqueue_query(query_pi_auths)
# # even though this plugin does not have any html materialization, the corresponding domid
# # must exist because it is searched at init-time to create the JS plugin
page.enqueue_query(query_pi_auths)
# # even though this plugin does not have any html materialization, the corresponding domid
# # must exist because it is searched at init-time to create the JS plugin