Summary: | Item search filters does not work with multiple search fields | ||
---|---|---|---|
Product: | Koha | Reporter: | Johanna Räisä <johanna.raisa> |
Component: | Searching | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | jonathan.druart, julian.maurice |
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
Johanna Räisä
2024-12-05 08:38:56 UTC
Can you detail? Is this about the pref DefaultPatronSearchFields? Sorry, *items* not *patrons*! If you perform a item search like "title is dog% or title is cat%", after that when you start filtering from datatables the resultset is always the same. Hope you understand from that. :) Is it a regression or it never worked? I think it never worked. catalogue/itemsearch.pl We deal with "columns": 83 $cgi->param( 'f', @f ); 84 $cgi->param( 'q', @q ); 85 $cgi->param( 'op', @op ); 86 $cgi->param( 'c', @c ); Then: 160 my @c = $param_names{'c[]'} ? $cgi->multi_param('c[]') : $cgi->multi_param('c'); 161 my @fields = $param_names{'f[]'} ? $cgi->multi_param('f[]') : $cgi->multi_param('f'); 162 my @q = $param_names{'q[]'} ? $cgi->multi_param('q[]') : $cgi->multi_param('q'); 163 my @op = $param_names{'op[]'} ? $cgi->multi_param('op[]') : $cgi->multi_param('op'); |