Bug 38756

Summary: Fix "See highlighted items below" link without using an onclick attribute
Product: Koha Reporter: Emily Lamancusa (emlam) <emily.lamancusa>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 35987    
Bug Blocks:    

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.