From f098a9869899aaea60a890974c66bdebdaf6c0a8 Mon Sep 17 00:00:00 2001 From: Andrew Kreps Date: Mon, 3 Mar 2025 19:44:09 -0800 Subject: [PATCH] Migrated to a charset safe where version. --- app/models/calDaily.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/calDaily.js b/app/models/calDaily.js index dcaa39bc..b3434906 100644 --- a/app/models/calDaily.js +++ b/app/models/calDaily.js @@ -255,7 +255,7 @@ class CalDaily { .query('caldaily') .join('calevent', 'caldaily.id', 'calevent.id') .whereRaw('not coalesce(hidden, 0)') // calevent: zero when published; null for legacy events. - .whereLike('title', `%${term}%`) + .where('title', 'LIKE', `%${term}%`) // .whereRaw("title like '%??%'", [term]) // late binding xperiment .where(function(q) { if (true) {