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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Aug 2021 11:48:22 +0000 (07:48 -0400)
commit0d2208b9f155dd56a53073f9e674973931351de4
tree1f7a960df31ec73b68f6035a2a8f002122c1a82a
parent13c0679fa0ac58cb404bed29f77b512be6cdf08d
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt