[Koha-bugs] [Bug 35943] SQL reports groups/subgroups whose name contains regexp special characters break table filtering
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 30 15:47:17 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35943
--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 161645
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161645&action=edit
Bug 35943: Fix group/subgroup filtering of saved reports
Use code instead of name for filtering and escape regexp special
characters.
This patch also disables datatables' smart filtering as it is not
recommended to use with regexp filtering
https://datatables.net/reference/api/search()
Test plan:
1. Create a report in a group named "Foo + Bar" and in a subgroup named
"Baz + Quux"
2. Create other reports in group "Foo + Bar" but in other subgroups, as
well as in other groups. This is useful to see the effect of
filtering
3. Go to the saved reports page and verify that navigating between tabs
have the desired result. Same for the subgroup select
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list