From 8b54a7b4045a9df37d1de486d997459f592416f6 Mon Sep 17 00:00:00 2001 From: Mahmoud AlSharif Date: Wed, 25 Sep 2024 22:20:14 +0300 Subject: [PATCH] feat(plugin): adapt to the new MongoDB upgrade --- control/content/controllers/content.home.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/content/controllers/content.home.controller.js b/control/content/controllers/content.home.controller.js index 022e4ed..d6786ae 100644 --- a/control/content/controllers/content.home.controller.js +++ b/control/content/controllers/content.home.controller.js @@ -577,7 +577,7 @@ if (!value) { value = '/*'; } - searchOptions.filter = { "$json.title": { "$regex": value, $options: "-i",} }; + searchOptions.filter = { "$json.title": { "$regex": value, $options: "i",} }; ContentHome.getMore(); };