Skip to content

Make it possible to sort datatable by custom second column #12127

@sgiehl

Description

@sgiehl

Datatables are currently sorted using the sort filter. The filter allows to activate sorting by second column. But this second column is always automatically detected based on the first sort column and can only be nb_visits or label.
In some (custom) plugins it might be useful to define a different custom second column to sort by. As this column might also need to be changed based on the first sort column, we could maybe implement it as callback function to be more flexible.

Metadata

Metadata

Assignees

Labels

c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions