Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sgiehl opened this issue Sep 27, 2017 · 0 comments
Closed

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

sgiehl opened this issue Sep 27, 2017 · 0 comments
Assignees
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Milestone

Comments

@sgiehl
Copy link
Member

sgiehl commented Sep 27, 2017

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.

@sgiehl sgiehl added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Sep 27, 2017
@mattab mattab added this to the 3.3.0 milestone Oct 5, 2017
@mattab mattab modified the milestones: 3.5.0, 3.4.0 Mar 19, 2018
@mattab mattab modified the milestones: 3.6.0, 3.5.0 Apr 9, 2018
@sgiehl sgiehl self-assigned this May 9, 2018
@sgiehl sgiehl closed this as completed Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

2 participants