Skip to content
Snippets Groups Projects
Commit 90a07295 authored by Marco De Donno's avatar Marco De Donno
Browse files

Order the detection technics and the surfaces by name

parent ec5de5d5
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,8 @@ def search():
Provide the search page.
"""
marks = config.db.query_fetchall( "SELECT * FROM mark_info" )
all_detection_technics = config.db.query_fetchall( "SELECT * FROM detection_technics" )
surfaces = config.db.query_fetchall( "SELECT * FROM surfaces" )
all_detection_technics = config.db.query_fetchall( "SELECT * FROM detection_technics ORDER BY name ASC" )
surfaces = config.db.query_fetchall( "SELECT * FROM surfaces ORDER BY name ASC" )
for _, v in enumerate( marks ):
for col in [ "detection_technic", "surface" ]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment