Bug 40907 - parenthesis and bracket are breaking filter on item table
Summary: parenthesis and bracket are breaking filter on item table
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-30 12:33 UTC by Mathieu Saby
Modified: 2025-09-30 12:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Saby 2025-09-30 12:33:09 UTC
The general filter above the item table in /catalogue/detail.pl breaks if you try to search something begining with ( or [

The "processing" popup never fades.

The console displays: 

Uncaught SyntaxError: Invalid regular expression: /^(/i: Unterminated group (at datatables_25.0600018.js:556:47)