Bug 25038: Fix tabs on the OPAC reading history view
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Apr 2020 11:25:09 +0000 (13:25 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 07:27:58 +0000 (08:27 +0100)
commit0e2119570d9c8deb0b15b8bff92975cfdfa5c3f4
tree0946355595fb6a39630909b44e21881e9c690255
parent3336147258cd71c446026919469ba052a62b6bac
Bug 25038: Fix tabs on the OPAC reading history view

OPAC reading history table has three tabs for different checkout types: All, Checkouts, On-site checkouts.

However, all of your checkouts are visible every tab regardless of checkout type.

Test plan:
1. Enable OnSiteCheckouts system preference
2. Perform two checkouts: one normal checkout, one on-site checkout
3. Go to OPAC /cgi-bin/koha/opac-readingrecord.pl
4. Observe your checkouts all are visible in first tab
5. Select second tab and notice that the table is now filtered
6. Same with third tab

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lari Taskula <lari.taskula@hypernova.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt