Skip to content

Commit f098a98

Browse files
Migrated to a charset safe where version.
1 parent 221d866 commit f098a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/calDaily.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ class CalDaily {
255255
.query('caldaily')
256256
.join('calevent', 'caldaily.id', 'calevent.id')
257257
.whereRaw('not coalesce(hidden, 0)') // calevent: zero when published; null for legacy events.
258-
.whereLike('title', `%${term}%`)
258+
.where('title', 'LIKE', `%${term}%`)
259259
// .whereRaw("title like '%??%'", [term]) // late binding xperiment
260260
.where(function(q) {
261261
if (true) {

0 commit comments

Comments
 (0)