projects
/
quanweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b4c0cac
)
Change sort order.
author
Chris Jaekl
<cejaekl@yahoo.com>
Sat, 11 Aug 2018 02:28:36 +0000
(22:28 -0400)
committer
Chris Jaekl
<cejaekl@yahoo.com>
Sat, 11 Aug 2018 02:28:36 +0000
(22:28 -0400)
main/db.go
patch
|
blob
|
history
diff --git
a/main/db.go
b/main/db.go
index 809634a24eb371680ab6ec55f3b64a3d3820477f..b636cffaed938752386174a32f5e60db54d13800 100644
(file)
--- a/
main/db.go
+++ b/
main/db.go
@@
-214,7
+214,7
@@
func queryIds(criteria []SearchTerm) []int {
args[i] = text
}
args[i] = text
}
- query += " ORDER BY b.path"
+ query += " ORDER BY
a.grouping,s.descr,b.volume,b.title,
b.path"
res := []int{}
res := []int{}