Enhance search doc: TrashService references, LocationList::getTotalCount()#2540
Enhance search doc: TrashService references, LocationList::getTotalCount()#2540adriendupuis merged 16 commits intomasterfrom
TrashService references, LocationList::getTotalCount()#2540Conversation
TrashService criteria, LocationList::getTotalCount()
TrashService criteria, LocationList::getTotalCount()TrashService references, LocationList::getTotalCount()
# Conflicts: # docs/search/criteria_reference/search_criteria_reference.md
# Conflicts: # docs/search/criteria_reference/search_criteria_reference.md # docs/search/sort_clause_reference/sort_clause_reference.md
php bin/console debug:container --tag=ibexa.search.legacy.trash.gateway.criterion.handler
@barw4 Thank you for pointing me this one and showing me its handler tag. Added in bc136a1 I missed it because it wasn't marked a trash criterion. I propose to mark it in ibexa/core#486 |
mnocon
left a comment
There was a problem hiding this comment.
Thank you for covering this!
I think the ContentName criterion is missing here: https://ez-systems-developer-documentation--2540.com.readthedocs.build/en/2540/search/search_in_trash_reference/ , could you please check?
Optional, something we can think about in the future:
I like the addition of the Trash column for criterions and sort clauses, it's much more readable this way - the question for me is if we still need to list them explicitly in the dedicated Trash reference (maybe just linking to the expanded tables would be enough and would make it easier to maintain)
code_samples/ change report
|
LocationList::getTotalCount()instead ofLocationList::$totalCount(see this getter addition circa v4.2.3)TrashService::findTrashItemscriteria and sort clauses are to be also used withSearchServiceand Repository Filtering.ContentName. QuoteDateMetadata::TRASHED.Checklist