]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 25 Apr 2021 16:55:25 +0000 (16:55 +0000)
commit15a822b68b594afeb5cfe9168dc72719afadc2cd
treeb2a109a72d8be28d0e8111a7deea91de3abd0d7b
parent5b39a9ecdfa5ca0c629253606c4a6a849ee04009
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>
(cherry picked from commit 56bc8c53d1b61c9427f2a3067f234f66f7299ee9)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/Utils/DataTables.pm
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt