Browse Source

[enh] sort isp by name in /isp/

Laurent Peuch 10 years ago
parent
commit
e4b47c2927
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffdnispdb/views.py

+ 1 - 1
ffdnispdb/views.py

@@ -32,7 +32,7 @@ def home():
 
 
 @ispdb.route('/isp/')
 @ispdb.route('/isp/')
 def project_list():
 def project_list():
-    return render_template('project_list.html', projects=ISP.query.filter_by(is_disabled=False))
+    return render_template('project_list.html', projects=ISP.query.filter_by(is_disabled=False).order_by(ISP.name.asc()))
 
 
 
 
 @ispdb.app_errorhandler(404)
 @ispdb.app_errorhandler(404)