diff --git a/src/lib/Resources/settings/search_engines/legacy/criterion_handlers_common.yml b/src/lib/Resources/settings/search_engines/legacy/criterion_handlers_common.yml index 2b5edd76c0..17976bc718 100644 --- a/src/lib/Resources/settings/search_engines/legacy/criterion_handlers_common.yml +++ b/src/lib/Resources/settings/search_engines/legacy/criterion_handlers_common.yml @@ -78,6 +78,7 @@ services: tags: - { name: ibexa.search.legacy.gateway.criterion_handler.content } - { name: ibexa.search.legacy.gateway.criterion_handler.location } + - { name: ibexa.search.legacy.trash.gateway.criterion.handler } Ibexa\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\ContentTypeGroupId: parent: Ibexa\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler diff --git a/tests/lib/Persistence/Legacy/TestCase.php b/tests/lib/Persistence/Legacy/TestCase.php index 7dbd9b4c9a..d087e5ba7e 100644 --- a/tests/lib/Persistence/Legacy/TestCase.php +++ b/tests/lib/Persistence/Legacy/TestCase.php @@ -325,6 +325,7 @@ protected function getTrashCriteriaConverterDependency(): CriteriaConverter new CriterionHandler\ContentTypeId($connection), new CriterionHandler\DateMetadata($connection), new CriterionHandler\UserMetadata($connection), + new CriterionHandler\ContentName($connection), ] ); }