From 3b28a7842f5464c38ecc968b54c13b442f7b5c9e Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Fri, 24 Jan 2014 18:50:24 +0100 Subject: [PATCH] Removed ple prefix to the user query in topmenu --- ui/topmenu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/topmenu.py b/ui/topmenu.py index be21db22..69a8dd3d 100644 --- 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 - 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 -- 2.43.0