Change sort order.
authorChris Jaekl <cejaekl@yahoo.com>
Sat, 11 Aug 2018 02:28:36 +0000 (22:28 -0400)
committerChris Jaekl <cejaekl@yahoo.com>
Sat, 11 Aug 2018 02:28:36 +0000 (22:28 -0400)
main/db.go

index 809634a24eb371680ab6ec55f3b64a3d3820477f..b636cffaed938752386174a32f5e60db54d13800 100644 (file)
@@ -214,7 +214,7 @@ func queryIds(criteria []SearchTerm) []int {
     args[i] = text
   }
 
-  query += " ORDER BY b.path"
+  query += " ORDER BY a.grouping,s.descr,b.volume,b.title,b.path"
 
   res := []int{}