mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
@@ -152,7 +152,10 @@ class EventSearch extends AbstractSearch
|
||||
$qb->andWhere($orWhere);
|
||||
}
|
||||
|
||||
if (isset($terms['name']) OR isset($terms['_default'])) {
|
||||
if (
|
||||
(isset($terms['name']) OR isset($terms['_default']))
|
||||
AND
|
||||
(!empty($terms['name']) OR !empty($terms['_default']))) {
|
||||
// the form with name:"xyz" has precedence
|
||||
$name = isset($terms['name']) ? $terms['name'] : $terms['_default'];
|
||||
|
||||
|
Reference in New Issue
Block a user