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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 4 May 2020 21:28:47 +0000 (21:28 +0000)
commit9845c93cc7d1b072ec2c79d7f16a21f00935f3ef
treeeeb3ca2ac0fd7404441b801965c5081564ec58c6
parent93d95ac1b3feaf5482b6a1a25c9d4198837e675c
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt