]> git.koha-community.org Git - koha.git/commit
Bug 23915: Replace OPAC list sort menu with Bootstrap menu button
authorOwen Leonard <oleonard@myacpl.org>
Mon, 28 Oct 2019 17:57:20 +0000 (17:57 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 30 Jan 2020 10:54:35 +0000 (10:54 +0000)
commit251bbb2eb9069841d065b0ba915fb757672a2179
treea71214db001ed14feea2aa47b0e775820516657b
parenteb970752b402fab61ab94ef8fa029eca3570de15
Bug 23915: Replace OPAC list sort menu with Bootstrap menu button

This patch adds JavaScript to the list contents page which converts the
resort form's <select> menu into a Bootstrap dropdown menu. This allows
for a more compact and consistent display.

To test, apply the patch and regenerate the OPAC CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

View a list in the OPAC. The toolbar of list controls ("New list,"
"Download list," etc.) should have a similary-styled "Sort" button. Each
sorting option should work correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt