[TYPO3-dam-devel] RFC #13198: Selecting dam items by click on category title causes an SQL-error

ben van 't ende ben at typo3.org
Sun Jan 10 16:56:50 CET 2010


On 10/01/10 14:24, Michiel Roos [netcreators] wrote:
> Op 1/10/10 2:22 PM, Uschi Renziehausen schreef:
>> 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
>>
>>
> 
> +1 by testing
> 
+1 by testing

ben



More information about the TYPO3-team-dam mailing list