Problem/Motivation
#3332872: Allow EntityListBuilder::getEntityIds() to easily extend the query introduced a method getEntityListQuery() for ListBuilder classes to easily extend the query. Domain's ListBuilder implementations currently implement getEntityIds() to extend the entity query.
Proposed resolution
Implement EntityListBuilder::getEntityListQuery to alter ListBuilder queries
Remaining tasks
- Write a merge request
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork domain-3554246
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
idebr commentedThe merge request implements EntityListBuilder::getEntityListQuery to alter ListBuilder queries
Comment #4
mably commented@idebr I added a small comment to your MR.
Comment #5
idebr commentedThe merge request is updated with a sort by SORT_KEY for Drupal versions before 10.4.
The call to version_compare is a reminder the statement can be removed once 10.4 is no longer supported by Domain
Comment #7
mably commented