foreign_sortby

foreign_sortby
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

type

string

Scope

Display / Proc.

Define a field on the child record that stores the manual sorting information. It is possible to have a different sorting, depending from which side of the relation we look at parent or child.

This property requires that the foreign_field approach is used.

When using MM relations the field used on the intermediate table is hardcoded to sorting_foreign. Setting this property has no effect combined with an MM table.