]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 14:20:50 +0000 (16:20 +0200)
commitf35571410b191770337708f4e389b49bde15e04e
treeeecd3baba4e4fef13f87c0b3bf9adfa4c58787b8
parent891145130c1fd4f216026eeb94c37300c8e3fd01
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>
C4/Utils/DataTables.pm
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt