Issue Bug Closed

#53873Sorting of relation field (type=select)

Bernhard Kraft 11/22/13, 14:21 updated 02/26/14, 22:08

Description

When a TCA field of type=select is rendered in TCEforms (FormEngine) there has to be an “ORDER BY” statement in the TCA key “foreign_table_where” or the entries won’t be sorted at all.

This already cause bug reports like: #47688

Solution: In method “BackendUtility::exec_foreign_table_where_query”: If “$wgolParts[‘ORDERBY’]” is empty use “sortby” or “default_sortby” configuration from TCA ‘ctrl’ section.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.