Browse Source

Alphabetize colony list

pull/13/head
Gabbie Burns 11 months ago
parent
commit
5066840a6d
  1. 2
      app.py

2
app.py

@ -103,7 +103,7 @@ def is_create_key_valid(key): @@ -103,7 +103,7 @@ def is_create_key_valid(key):
def get_colonies():
with get_db() as db:
with db.cursor() as cur:
cur.execute("""SELECT id, name FROM colony""")
cur.execute("""SELECT id, name FROM colony ORDER BY name""")
rows = cur.fetchall()
return {

Loading…
Cancel
Save