Bug 28574

Summary: Double id in source code member.pl
Product: Koha Reporter: pierre.genty
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED WONTFIX QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: 20.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description pierre.genty 2021-06-16 14:38:15 UTC
Hi all, 
The member.pl page (results from patrons search) has two div with the same id : searchheader (checked on 19.11 and 20.11). Is this a problem ?
Comment 1 Katrin Fischer 2021-06-19 11:28:45 UTC
Hi Pierre, it can cause issues when addressing these with jQuery, so definitely good to have this one files.
Comment 2 Owen Leonard 2021-07-01 11:47:26 UTC
The duplicate ID is not in the HTML of the template. The duplicate is created by the "hcSticky" JavaScript library in order to create the "floating" toolbar. This will be true on any page that uses the same feature.

I'm going to mark this as "WONTFIX" because I don't believe this is going to cause practical problems. If someone finds otherwise please reopen this report.