]> git.koha-community.org Git - koha.git/commit
Bug 28069: (bug 27715 follow-up) Fix sort for lists
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 15:35:33 +0000 (17:35 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 22 Apr 2021 14:37:06 +0000 (16:37 +0200)
commit56bc8c53d1b61c9427f2a3067f234f66f7299ee9
tree4738179448fffc642cdffd2ddfc907efc36d7e70
parente7c3e5f81b159d100dd40a729d704a1f59a6426e
Bug 28069: (bug 27715 follow-up) Fix sort for lists

Sort functionality has been broken by bug 27715. We need to specify the
table.column in the datatable init

Note that "count" needs to be handled separately (which is a bit dirty
but cannot find something better)

Test plan:
Create some lists, add contents, change owner and dates
Sort using the different attributes and confirm that it's now working

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f35571410b191770337708f4e389b49bde15e04e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Utils/DataTables.pm
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt