Registration: removed name of the authority keep only authortity_hrn
authorLoic Baron <loic.baron@lip6.fr>
Thu, 27 Feb 2014 17:06:03 +0000 (18:06 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Thu, 27 Feb 2014 17:06:03 +0000 (18:06 +0100)
portal/registrationview.py

index 7c2ab03..58567dd 100644 (file)
@@ -37,7 +37,7 @@ class RegistrationView (FreeAccessView, ThemeView):
         errors = []
 
         # Using cache manifold-tables to get the list of authorities faster
-        authorities_query = Query.get('authority').select('name', 'authority_hrn')
+        authorities_query = Query.get('authority').select('authority_hrn')
         
         #onelab_enabled_query = Query.get('local:platform').filter_by('platform', '==', 'ple').filter_by('disabled', '==', 'False')
         #onelab_enabled = not not execute_admin_query(request, onelab_enabled_query)