Skip to content

Conversation

@barw4
Copy link
Contributor

@barw4 barw4 commented Nov 6, 2025

🎫 Issue IBX-10937

Description:

The usage is:

            new ContentTypeQuery(
                new ContentTypeGroupName('Media'),
            )

For QA:

Documentation:

@barw4 barw4 self-assigned this Nov 6, 2025
@barw4 barw4 added Feature New feature request Ready for review labels Nov 6, 2025
@mnocon mnocon added the Doc needed The changes require some documentation label Nov 7, 2025
@dabrt
Copy link

dabrt commented Nov 7, 2025

@barw4 Will you add the criterion to the REST API, too?
ibexa/rest#196

@barw4
Copy link
Contributor Author

barw4 commented Nov 7, 2025

@barw4 Will you add the criterion to the REST API, too? ibexa/rest#196

yes, just after it's merged

@barw4 barw4 requested a review from a team November 7, 2025 09:25
'LOWER(ctg.name)',
$qb->createNamedParameter(array_map('strtolower', $criterion->getValue()), Connection::PARAM_STR_ARRAY)
) : $subQuery->expr()->eq(
'LOWER(ctg.name)',
Copy link
Contributor

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.

Copy link
Contributor Author

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

@barw4 barw4 requested review from a team and Steveb-p November 7, 2025 10:20
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 7, 2025

@barw4 barw4 merged commit d1bfbf7 into 4.6 Nov 7, 2025
25 of 26 checks passed
@barw4 barw4 deleted the ibx-10937-criterion-ContentTypeGroupIdentifier branch November 7, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Doc needed The changes require some documentation Feature New feature request Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants