projects
/
quanweb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug in list search that was introduced by sort order work.
[quanweb.git]
/
main
/
db.go
diff --git
a/main/db.go
b/main/db.go
index fbc67c8d235f37ac23bc0c180cf53815107fd51b..c7b44777a2888849d9edccf561e309fff69db353 100644
(file)
--- a/
main/db.go
+++ b/
main/db.go
@@
-236,7
+236,7
@@
func queryIds(criteria []SearchTerm) []int {
if j > 0 {
query += ","
}
- query += "UPPER($" + strconv.Itoa(count + j
+ 1
) + ")"
+ query += "UPPER($" + strconv.Itoa(count + j) + ")"
args = append(args, code)
}
query += ")"