projects
/
quanweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f80d5c
)
Fix bug in list search that was introduced by sort order work.
master
author
Chris Jaekl
<chris@localhost>
Thu, 20 Oct 2022 02:15:42 +0000
(22:15 -0400)
committer
Chris Jaekl
<chris@localhost>
Thu, 20 Oct 2022 02:15:42 +0000
(22:15 -0400)
main/db.go
patch
|
blob
|
history
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 += ")"