Changing sorting order for email notification lists to alphabetical, ascending

This commit is contained in:
Nils Vogels 2014-05-01 14:09:12 +02:00
parent 071d51fcda
commit 71cd57927f

View file

@ -2624,7 +2624,7 @@ class Home:
cherrypy.response.headers['Cache-Control'] = "max-age=0,no-cache,no-store"
mydb = db.DBConnection()
rows = mydb.select("SELECT show_id, show_name, notify_list FROM tv_shows")
rows = mydb.select("SELECT show_id, show_name, notify_list FROM tv_shows ORDER BY show_name ASC")
data = {}
size = 0
for r in rows: