From b89416d2527ebd8c861ee990c3c08b043e9fdaa2 Mon Sep 17 00:00:00 2001 From: Chris Jaekl Date: Wed, 19 Oct 2022 22:15:42 -0400 Subject: [PATCH] Fix bug in list search that was introduced by sort order work. --- main/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/db.go b/main/db.go index fbc67c8..c7b4477 100644 --- 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 += ")" -- 2.39.2