Bug #85486
closedcObj->searchWhere is broken using more than one search field
100%
Description
Hi,
the OR-parts of the searchfields in the method cObj->searchWhere has to be grouped in parentheses like in TYPO3 7. Otherwise the complete search condition using the method could be misinterpreted.
Wrong result:
AND (tt_content.header LIKE '%sdf%') OR (tt_content.subheader LIKE '%sdf%')
Right result:
AND ((tt_content.header LIKE '%sdf%') OR (tt_content.subheader LIKE '%sdf%'))
Thanks for fixing.
Updated by Susanne Moog about 6 years ago
- Target version changed from 8.7.19 to Candidate for patchlevel
Updated by Georg Ringer over 4 years ago
- Related to Task #77455: Doctrine: Migrate ContentObjectRenderer added
Updated by Georg Ringer over 4 years ago
- Category set to Database API (Doctrine DBAL)
- Status changed from New to Accepted
- Is Regression set to Yes
Updated by Gerrit Code Review over 4 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63692
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63692
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63732
Updated by Georg Ringer over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8ee7740688043a3f6f586e522c090ae868f69134.