[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 Aug 27 00:10:07 CEST 2021


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #119114|0                           |1
        is obsolete|                            |

--- Comment #24 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 124127
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124127&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

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list