Bug 34944: Remove the use of event attributes from OPAC full serial issue page
authorOwen Leonard <oleonard@myacpl.org>
Thu, 28 Sep 2023 11:25:02 +0000 (11:25 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:15:40 +0000 (09:15 -0400)
commit10ef1fe67226a09b15a563b04cde6cca266b87ce
treed3680089eafc33c7821b3c2117d258f907b540d4
parent8d4b10fc846eb74aa381c809923d13bf258a9752
Bug 34944: Remove the use of event attributes from OPAC full serial issue page

This patch removes the use of event attributes (onclick) from the OPAC's
full serial issues template. These events are defined now along with the
other in-page JS.

To test you must have a serial record with issues from multiple years.

- Locate the serial record and view the detail page.
- Click "More details" at the bottom of the "Subscriptions" tab.
- Click the "Full history" tab.
- Test the "Show year" controls to confirm that clicking each year
  correctly filters the table of issues to show only issues from that
  year.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt