Bug 28574 - Double id in source code member.pl
Summary: Double id in source code member.pl
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: 20.11
Hardware: All All
: P5 - low minor (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-16 14:38 UTC by pierre.genty
Modified: 2022-06-06 20:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.