[TYPO3-dam-devel] RFC #13198: Selecting dam items by click on category title causes an SQL-error
Uschi Renziehausen
typo3news at otherone.de
Sun Jan 10 14:22:30 CET 2010
This is a SVN patch request.
Type: feature/bugfix
Branches: dam trunk, dam 1.2
BT ref: http://bugs.typo3.org/view.php?id=13198
Problem:
In revision 27921 tx_dam_selectionCategory->selection_getQueryPart() was changed in order to allow selecting dam items
by categories again. That fix was incomplete as clicking on the title of a category in either module Media>List or the
RTE-browsers produced an invalid SQL-statement, because clicking the category title sets the param $queryType to
'SELECT' that was not covered by selection_getQueryPart() anymore.
Solution:
If the queryType is SELECT create the same query as for AND (clicking on the = sign).
Prosit, Uschi
More information about the TYPO3-team-dam
mailing list