Merge pull request #283 from WebSpider/dev-email_notify_order

Changing sorting order for email notification lists, closes enhancement request in #271
This commit is contained in:
Nils 2014-05-01 14:14:00 +02:00
commit 45f2d72314

View file

@ -2620,7 +2620,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: