[Koha-bugs] [Bug 26860] Add search limit for records without items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 6 10:18:27 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26860

--- Comment #13 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 113220
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113220&action=edit
Bug 26860: (follow-up) case requesting zebra with ccl query

When calling a ccl syntax query, code must be added like for
availability facet.
See Bug 17278: Use available limit when requesting zebra when ccl query is used

This patch also changes "grep {!/^available$/} @limits" to use "grep { $_ ne
'available' } @limits".
Following the logic of :
Bug 23084: Replace grep {^$var$} with grep {$_ eq $var}

Test plan :
1) Use Zebra search engine
2) Perform a search on staff interface with explicit index, for example
'ti:history'
3) This search must return some records with and some without items
4) Click on 'Limit to records without items'
5) Check you see only records without items
6) Click on 'Show all records'
7) Check you see all records again
8) Check availability facet is also working

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list