- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Sorry that I missed this one! Thanks for all the hard work in here. @joelpittet is this sissue still relevant and useful for later versions? Should we tag it for a reroll?
A follow-up to parent issue #2429213: Default sort order not applied →
Seems that an intuitive approach to re-ordering a table when a column header is clicked would be to apply first the default order set for the specific column, i.e. in case the default order is set to 'descending', clicking on its header should first sort it in descending order. Currently ordering applied in this manner always sorts the table in ascending order first.
Setting attribute 'orderSequence' to ['desc', 'asc'] for columns where the values of attribute options['info'][$field]['default_sort_order'] = 'desc'
, as done in the attached patch.
Postponed: needs info
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Sorry that I missed this one! Thanks for all the hard work in here. @joelpittet is this sissue still relevant and useful for later versions? Should we tag it for a reroll?