Skip to content
Snippets Groups Projects
Commit f4dd544c authored by Susanne Moog's avatar Susanne Moog Committed by Georg Ringer
Browse files

[BUGFIX] Keep priority of SQL operators in DatabaseRecordList

DatabaseRecordList adds an additionalWhereClause with an `OR` which
may be extended by a hook. Usually, the hook is used to add additional
clauses. As the `OR` part is not wrapped in braces, this may result in
wrong priorities in the resulting query.

As there might be pre-existing work-arounds handling the situation,
the fix is done only on master.

Resolves: #82283
Releases: master
Change-Id: Id60d02cf671db2fffc2635764ebda809ae7cb1af
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63620


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 7f571817
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment