sortby with 2 fields will crash on sorting & adding new record
It is not possible to sort records of a table in list view anymore if a 2nd sorting field is added in ext_tables.php
to reproduce: create an extension with a table with manual sorting activated and modify ext_tables.php
'sortby' => 'mode, sorting',
SELECT mode, sorting,pid,uid
=> pid=46 AND mode, sorting>=0 AND tx_rgproduct_piece.deleted=0
ORDER BY mode, sorting ASC
what do you think?
(issue imported from #M6391)
Updated by Martin Kutschker over 13 years ago
I think this is afeature request for "manual sorting withing a group". Currently you can either use your own sort fields or let TYPO3 do the mnualy sorting with the "sorting" field. If you want to change that it needs more than simply adding an extra sort field in the SQL query. TYPO3 should know of it so it can change thes orting field in a meaningful way.