Bug 28764: Alter sort dropdown to use direction parameter
authorNick Clemens <nick@bywatersolutions.com>
Fri, 30 Jul 2021 10:54:47 +0000 (10:54 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Aug 2021 11:27:52 +0000 (13:27 +0200)
commitee3f131f50f249e6a3c34eed13b8124c94102055
treefe9c20fe66a2fbea7aae59772621b436d8d63ffa
parentcaad849036bf13a4438731309ea45c7edcf75c3d
Bug 28764: Alter sort dropdown to use direction parameter

This code is odd -we build a select in the template, then turn it into a list of links using javascript
This patch adds a direction data element and uses it while building the links

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt