Bug 38596: (bug 36640 follow-up): Restore previous order sequence behaviour - OPAC

See commit e76c5c0145
    Bug 36640: Restore previous order sequence behaviour

Test plan:
Go to http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=1
Click on the header to modify the order, click again, then again.
It should always be asc or desc, and you should see the corresponding
arrows.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-12-02 12:48:08 +01:00 committed by Katrin Fischer
parent d86c662451
commit 9fe1563fa0
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ var dataTablesDefaults = {
});
}
};
DataTable.defaults.column.orderSequence = ['asc', 'desc'];
$.fn.dataTable.ext.buttons.clearFilter = {
fade: 100,