From 2d0897ea747208356d8c70cc25e327d7f08c523c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 2 Oct 2024 08:20:15 +0200 Subject: Allow dynamic search operator in user queries (#6851) * Allow dynamic search operator in user queries fix https://github.com/FreshRSS/FreshRSS/issues/6849 * Other approach --- app/Models/UserQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/UserQuery.php') diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php index d701b6b44..1ec8ee148 100644 --- a/app/Models/UserQuery.php +++ b/app/Models/UserQuery.php @@ -95,7 +95,7 @@ class FreshRSS_UserQuery { } // linked too deeply with the search object, need to use dependency injection - $this->search = new FreshRSS_BooleanSearch($query['search'], 0, 'AND', false); + $this->search = new FreshRSS_BooleanSearch($query['search'], 0, 'AND', allowUserQueries: true); if (!empty($query['state'])) { $this->state = intval($query['state']); } -- cgit v1.2.3