From: Chris Jaekl Date: Sat, 11 Aug 2018 02:28:36 +0000 (-0400) Subject: Change sort order. X-Git-Url: https://jaekl.net/gitweb/?a=commitdiff_plain;h=746ea729b137d70d56740f1b5e26df48b2d0677d;p=quanweb.git Change sort order. --- diff --git a/main/db.go b/main/db.go index 809634a..b636cff 100644 --- a/main/db.go +++ b/main/db.go @@ -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{}