diff --git a/Search/SearchProvider.php b/Search/SearchProvider.php index 4374d313c..f85343348 100644 --- a/Search/SearchProvider.php +++ b/Search/SearchProvider.php @@ -209,7 +209,7 @@ class SearchProvider $terms = $this->parse($pattern); $search = $this->getByName($name); - if ($terms['_domain'] !== NULL && !$search->supports($terms['_domain'])) + if ($terms['_domain'] !== NULL && !$search->supports($terms['_domain'], $format)) { throw new ParsingException("The domain is not supported for the search name"); }