]> git.koha-community.org Git - koha.git/commit
Bug 35943: Fix group/subgroup filtering of saved reports
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 30 Jan 2024 14:13:47 +0000 (15:13 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 11:26:45 +0000 (12:26 +0100)
commitde91b2e5d9dbff8c43a5090828397583bd397dc1
treedb2b009df8936120bb57ba7d67c8d443dfb95193
parentb23996ee7a3c232223989d01cce98f3419690f82
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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt