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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Oct 2023 19:55:57 +0000 (09:55 -1000)
commitfc8972d45b0010761d800ce16d711dc1c1162bfe
treeb26288263f2f69c5f40a9de37cea6e4b37528be5
parentc1078784db2a57d339b214d09d85662a85f2b338
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>
(cherry picked from commit 10ef1fe67226a09b15a563b04cde6cca266b87ce)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt