Skip to content

Commit

Permalink
IBX-9169: Added ContentName criterion handler to trash handler (#448)
Browse files Browse the repository at this point in the history
For more details see https://issues.ibexa.co/browse/IBX-9169 and #448

Key changes:

* Added the `ContentName` criterion handler to trash handler

* [Tests] Updated `TestCase`
  • Loading branch information
barw4 authored Nov 27, 2024
1 parent eed0cea commit 397e209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/lib/Persistence/Legacy/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ protected function getTrashCriteriaConverterDependency(): CriteriaConverter
new CriterionHandler\ContentTypeId($connection),
new CriterionHandler\DateMetadata($connection),
new CriterionHandler\UserMetadata($connection),
new CriterionHandler\ContentName($connection),
]
);
}
Expand Down

0 comments on commit 397e209

Please sign in to comment.