Commit a43ee848 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

controllers/config.py: order config list by config name

parent 48f1db13
......@@ -14,7 +14,7 @@ def index():
return gluon.contrib.simplejson.dumps(res, separators=(',',':'))
query = db((auth.accessible_query('read', db.config) | auth.accessible_query('admin', db.config) ) ).select()
query = db((auth.accessible_query('read', db.config) | auth.accessible_query('admin', db.config) ) ).select(orderby=~db.config.name)
return dict(message=T('Configs'),
query=query,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment