Skip to content

Commit 7a9bedb

Browse files
committed
Merge branch 'main' of github.com:utopia-php/database into get-sequence-default
2 parents a502794 + eaa4e27 commit 7a9bedb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Database/Validator/IndexedQueries.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ public function isValid($value): bool
9191
$filters = $grouped['filters'];
9292

9393
foreach ($filters as $filter) {
94-
if ($filter->getMethod() === Query::TYPE_SEARCH) {
94+
if (
95+
$filter->getMethod() === Query::TYPE_SEARCH ||
96+
$filter->getMethod() === Query::TYPE_NOT_SEARCH
97+
) {
9598
$matched = false;
9699

97100
foreach ($this->indexes as $index) {

0 commit comments

Comments
 (0)