-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-10937: Add the ContentTypeGroupName criterion for findContentTypes PAPI
#675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@barw4 Will you add the criterion to the REST API, too? |
yes, just after it's merged |
src/lib/Persistence/Legacy/Content/Type/Gateway/CriterionHandler/ContentTypeGroupName.php
Outdated
Show resolved
Hide resolved
| 'LOWER(ctg.name)', | ||
| $qb->createNamedParameter(array_map('strtolower', $criterion->getValue()), Connection::PARAM_STR_ARRAY) | ||
| ) : $subQuery->expr()->eq( | ||
| 'LOWER(ctg.name)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning
This does not make use of indexes, if any exist for name column.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted, no index in name column though
|



Description:
The usage is:
For QA:
Documentation: