[Koha-bugs] [Bug 31065] New: SearchLimitLibrary sys. pref. not limiting correctly when set to holding library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 29 11:32:13 CEST 2022


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

            Bug ID: 31065
           Summary: SearchLimitLibrary sys. pref. not limiting correctly
                    when set to holding library
 Change sponsored?: ---
           Product: Koha
           Version: 21.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: hc at interleaf.ie
        QA Contact: testopia at bugs.koha-community.org

Bug 21249 added the system preference SearchLimitLibrary which allows a site to
determine in an advanced search if the branch specified should be searched
against the home library, the holding library or both the home and holding
library of the item. 

On the release 21.11.06, I'm seeing instances where the sys. pref, set to
"holding library", will still bring back results based on the home library.

Example:

The item record is set up with home library as branch A and holding library as
branch B. 

A library group is set up with only branch A in it. 

The SearchLimitLibrary system preference is set to "holding library".

Under Advanced search, under "search for", the dropdown is set to "barcode".

Under "Location and Availability", the "Groups of libraries" option is set to
the group containing only branch A. 

The barcode for the item is searched for and the item is returned. 

The item should not be returned, as the search should limit to the holding
branch, which is not included in the library group being searched for. 

The same issue appears if branch A is searched for individually under the
Advanced Search setting.

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


More information about the Koha-bugs mailing list