mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 12:24:46 -04:00
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
This commit is contained in:
committed by
GitHub
parent
2489b6259a
commit
2d0897ea74
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user