Bug 40907

Summary: parenthesis and bracket are breaking filter on item table
Product: Koha Reporter: Mathieu Saby <mathsabypro>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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)