aboutsummaryrefslogtreecommitdiff
path: root/app/Models/UserQuery.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-10-02 08:20:15 +0200
committerGravatar GitHub <noreply@github.com> 2024-10-02 08:20:15 +0200
commit2d0897ea747208356d8c70cc25e327d7f08c523c (patch)
tree3965faf6c106772c5c2fa2faff56c43b769b67be /app/Models/UserQuery.php
parent2489b6259ad334407c023eb60722c9746d973542 (diff)
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
Diffstat (limited to 'app/Models/UserQuery.php')
-rw-r--r--app/Models/UserQuery.php2
1 files changed, 1 insertions, 1 deletions
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']);
}