https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42925 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@openfifth.co.u | |k --- Comment #11 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Hi all, 1 not a blocker but wondering if intended: Clicking the 'x' jumps the page to the top and adds '#' to the URL The follow-up made the icon an <a href="#">, but the click handler doesn't call preventDefault(), so the browser follows the '#' after clearing the search. Any table whose search box is below the fold is affected; the old 'Clear filter' button didn't do this. 1) Inside KTD, build the CSS: $ ktd --shell k$ yarn css:build 2) Add 20 items to record 1 so its page scrolls: k$ perl -MKoha::Item -e 'Koha::Item->new({ biblionumber => 1, homebranch => "CPL", holdingbranch => "CPL", itype => "BK", barcode => "42925-$_" })->store for 1..20' 3) Open a private window (or refresh the browser's cache) and log in 4) Go to the record's detail page: http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=1 5) Scroll down until the 'Holdings' table's search box is near the top of the window 6) Type 'Centerville' in the search box (it matches every row, so the page doesn't move) 7) Confirm an 'x' shows up inside the search box 8) Click the 'x' 9) Confirm the search box is cleared, but the page jumps back to the top and the URL now ends with '#' -- You are receiving this mail because: You are watching all bug changes.