#88338Creating a file reference sorting not working
Description
Hi all,
if I create a file reference as described in the doc (https://docs.typo3.org/typo3cms/FileAbstractionLayerReference/8.7/UsingFal/Examples/FileFolder/Index.html#creating-a-file-reference) and I want to also add a sorting. I added:
$data['sys_file_reference']['NEW' . $file->getUid()] = [
'table_local' => 'sys_file',
'uid_local' => $file->getUid(),
'tablenames' => 'xxxxxx',
'uid_foreign' => $xxxx->getUid(),
'sorting_foreign' => $sorting,
'pid' => $xxxx->getPid()
];
The field in the sys_file_reference is always 1. If I change the order afterwards in the backend the foreign_sorting field is correct.
Thanks and kind regards,
Harald
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.