Bug 38756 - Fix "See highlighted items below" link without using an onclick attribute
Summary: Fix "See highlighted items below" link without using an onclick attribute
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 35987
Blocks:
  Show dependency treegraph
 
Reported: 2024-12-19 19:18 UTC by Emily Lamancusa (emlam)
Modified: 2024-12-20 02:31 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2024-12-19 19:18:27 UTC
The overdues alert on patron accounts contains a "See highlighted items below" link that jumps to the Checkouts table and shows checkouts if they are hidden. Currently, the link uses an "onclick" attribute to show hidden checkouts, which is against coding guideline JS9 (https://wiki.koha-community.org/wiki/Coding_Guidelines#JS9:_Avoid_the_use_of_event_attributes_like_.22onclick.22_to_attach_events). This should be revised.