[TYPO3-core] RFC: Bugfix: #6953: Mapping of fieldnames in SQL-functions like MIN(), MAX() or SUM() does not work

Martin Kutschker masi-no at spam-typo3.org
Thu Feb 12 19:17:01 CET 2009


Michael Miousse schrieb:
> 
> Solution:
> new condition in class.ux_t3lib_db.php->map_sqlParts() which checks for content in "func_content". If a mapping instruction for "func_content" can be found, the mapping will be processed

The splitting of the function content on dot is for schema.field, right?

While it's an improvement it doesn't cope with functions that take more
than one parameter, which's parameter is another function, is a number
or a string, or "English" like "SELECT TRIM(LEADING 'x' FROM
'xxxbarxxx')". But hey, better then nothing :)

Masi


More information about the TYPO3-team-core mailing list