From bugzilla-daemon@bugs.koha-community.org Fri Mar 6 13:02:38 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] New: e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 06 Mar 2026 12:02:37 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7437906639961683203==" --===============7437906639961683203== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Bug ID: 42012 Summary: e.preventDefault not called in clubs.tt club_hold_search handler Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: paul.derscheid@lmscloud.de QA Contact: testopia@bugs.koha-community.org In clubs/clubs.tt, the .club_hold_search click handler uses e.preventDefault instead of e.preventDefault(). This was probably a typo or similar in Bug 24393. This references the method without calling it, so the default anchor action is never prevented. Since the element is an , clicking "Search to hold" causes the page to scroll to the top. -- You are receiving this mail because: You are watching all bug changes. --===============7437906639961683203==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 6 13:04:22 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 06 Mar 2026 12:04:22 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0920737160917170534==" --===============0920737160917170534== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Paul Derscheid changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. --===============0920737160917170534==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 6 13:04:32 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 06 Mar 2026 12:04:23 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3002066588325775789==" --===============3002066588325775789== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 --- Comment #1 from Paul Derscheid --- Created attachment 194689 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194689&action=edit Bug 42012: Fix missing preventDefault() call in clubs.tt - e.preventDefault was missing parentheses, so the default action was never actually prevented - The element is an link, so clicking it would cause the page to scroll to top -- You are receiving this mail because: You are watching all bug changes. --===============3002066588325775789==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 6 13:26:39 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 06 Mar 2026 12:26:39 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7843779589609096450==" --===============7843779589609096450== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Jonathan Druart changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |paul.derscheid@lmscloud.de QA Contact|testopia@bugs.koha-communit |jonathan.druart@gmail.com |y.org | CC| |jonathan.druart@gmail.com -- You are receiving this mail because: You are watching all bug changes. --===============7843779589609096450==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 6 13:27:00 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 06 Mar 2026 12:27:00 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6142354017734347630==" --===============6142354017734347630== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Jonathan Druart changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |24393 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24393 [Bug 24393] Remove event attributes from patron clubs list template -- You are receiving this mail because: You are watching all bug changes. --===============6142354017734347630==-- From bugzilla-daemon@bugs.koha-community.org Tue Mar 17 18:06:02 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Tue, 17 Mar 2026 17:05:52 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5307097821509006353==" --===============5307097821509006353== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Eric Phetteplace changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=42116 -- You are receiving this mail because: You are watching all bug changes. --===============5307097821509006353==-- From bugzilla-daemon@bugs.koha-community.org Tue Mar 17 18:19:57 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Tue, 17 Mar 2026 17:19:56 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7283112366137654620==" --===============7283112366137654620== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Eric Phetteplace changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194689|0 |1 is obsolete| | --- Comment #2 from Eric Phetteplace --- Created attachment 195599 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195599&action=edit Bug 42012: Fix missing preventDefault() call in clubs.tt e.preventDefault was missing parentheses, so the default action was not prevented. The element is an link, so clicking it causes the page to scroll to top To test: - On Staff side, go to Tools > Patron Clubs - Create a Club Template, only name is needed - Create a Club, only name is needed - Go to a Patron's Check out page > Clubs > **Enroll** in the club - Back on Tools > Clubs use the Actions menu to "Search to hold" - The page scrolls to the top before redirecting - Apply patch - Repeat "Search to hold" - Page does not scroll anymore but still redirects Signed-Off-By: Eric Phetteplace -- You are receiving this mail because: You are watching all bug changes. --===============7283112366137654620==-- From bugzilla-daemon@bugs.koha-community.org Tue Mar 17 18:20:40 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Tue, 17 Mar 2026 17:20:40 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6565838889544830543==" --===============6565838889544830543== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Eric Phetteplace changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ephetteplace@cca.edu Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. --===============6565838889544830543==-- From bugzilla-daemon@bugs.koha-community.org Tue Mar 17 18:50:06 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Tue, 17 Mar 2026 17:50:05 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5875468658909819882==" --===============5875468658909819882== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Laura Escamilla changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. --===============5875468658909819882==-- From bugzilla-daemon@bugs.koha-community.org Tue Mar 17 18:50:16 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Tue, 17 Mar 2026 17:50:08 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3068232857678413313==" --===============3068232857678413313== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Laura Escamilla changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195599|0 |1 is obsolete| | --- Comment #3 from Laura Escamilla --- Created attachment 195601 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195601&action=edit Bug 42012: Fix missing preventDefault() call in clubs.tt e.preventDefault was missing parentheses, so the default action was not prevented. The element is an link, so clicking it causes the page to scroll to top To test: - On Staff side, go to Tools > Patron Clubs - Create a Club Template, only name is needed - Create a Club, only name is needed - Go to a Patron's Check out page > Clubs > **Enroll** in the club - Back on Tools > Clubs use the Actions menu to "Search to hold" - The page scrolls to the top before redirecting - Apply patch - Repeat "Search to hold" - Page does not scroll anymore but still redirects Signed-Off-By: Eric Phetteplace Signed-off-by: Laura_Escamilla -- You are receiving this mail because: You are watching all bug changes. --===============3068232857678413313==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 20 13:00:20 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 20 Mar 2026 12:00:20 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5118556520099003501==" --===============5118556520099003501== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Martin Renvoize (ashimema) changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch CC| |martin.renvoize@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes. --===============5118556520099003501==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 20 13:18:10 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 20 Mar 2026 12:15:12 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4579682645012009081==" --===============4579682645012009081== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Martin Renvoize (ashimema) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes. --===============4579682645012009081==-- From bugzilla-daemon@bugs.koha-community.org Fri Mar 20 13:18:20 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Fri, 20 Mar 2026 12:15:13 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5352813848393215742==" --===============5352813848393215742== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D42012 --- Comment #4 from Martin Renvoize (ashimema) --- Thanks for all the hard work! Pushed to main for the next 26.05.00 release as RM Assistant --=20 You are receiving this mail because: You are watching all bug changes. --===============5352813848393215742==-- From bugzilla-daemon@bugs.koha-community.org Sun May 24 15:21:28 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Sun, 24 May 2026 12:50:38 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6344737327955481624==" --===============6344737327955481624== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 Jacob O'Mara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.05.00 |26.05.00,25.11.05 released in| | -- You are receiving this mail because: You are watching all bug changes. --===============6344737327955481624==-- From bugzilla-daemon@bugs.koha-community.org Sun May 24 15:21:38 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42012] e.preventDefault not called in clubs.tt club_hold_search handler Date: Sun, 24 May 2026 12:50:40 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0967182758623173239==" --===============0967182758623173239== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012 --- Comment #5 from Jacob O'Mara --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes. --===============0967182758623173239==--