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

            Bug ID: 28125
           Summary: All OPAC holds blocked when OPACHiddenItems contains
                    incorrect values
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Hold requests
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: and...@bywatersolutions.com
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com
        Depends on: 15448

From bug 15448, we're now checking OPACHiddenItems to see if something is
hidden before we allow a hold on it. However, the manner in which that check is
performed causes a problem if the syspref contains incorrect values.

To recreate:
- make sure OPACHiddenItems is empty
- find a holdable item on the OPAC, confirm you can place a hold on it
- enter "itemlost: [AB]" in OPACHiddenItems (an incorrect value because
itemlost can only contain 1 bit)
- confirm your item is not hidden from the OPAC but you are told it is not
available for holds

You'll see the same behavior if you use an incorrect field name, like "lost" or
"itemtype."


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15448
[Bug 15448] Placing hold on specific items doesn't enforce OpacHiddenItems
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to