#53873Sorting of relation field (type=select)
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.