From 44ff5e37348b942592668d31b500a081a4a93d76 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 19 Jul 2020 19:37:38 +0200 Subject: [PATCH] updated qrz with non case sensitive search --- src/qrzws/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qrzws/main.go b/src/qrzws/main.go index 4a88441..85de149 100644 --- a/src/qrzws/main.go +++ b/src/qrzws/main.go @@ -210,7 +210,7 @@ func SetSearchLikeStatement(config config.Config, qrzdt QrzDatatableInput) (sear var searchstmtslice []string if len(qrzdt.Columns) > 0 { for id, i := range qrzdt.Columns { - searchstmtslice = append(searchstmtslice, fmt.Sprintf("%s LIKE '%%%s%%'", i.Name, qrzdt.Search.Value)) + searchstmtslice = append(searchstmtslice, fmt.Sprintf("%s ILIKE '%%%s%%'", i.Name, qrzdt.Search.Value)) if id < len(qrzdt.Columns)-1 { searchstmtslice = append(searchstmtslice, "OR") }