[Koha-bugs] [Bug 30846] Notforloan status is not checked in CanBookBeReserved/CanItemBeReserved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 2 21:21:36 CET 2023


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

Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caroline.cyr-la-rose at inlibr
                   |                            |o.com

--- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
I'm not sure if this is what you meant Nick, but I came across this situation
and thought it was maybe the same. Let me know if it's completely different and
I'll create a new bug for this.

I'm trying to set up Koha so that only unavailable items can be put on hold,
including those with negative not for loan values. (The exact use case is a
library that wants to prevent on shelf holds, but want people to be able to put
on hold the most recent issue of a serial even if it is for reference only
while the other issue hasn't yet arrived. When the next issue arrives, the
previous issue will be lent out, in order of the holds... Not sure if that
makes sense, but it's the same principle as placing holds on "ordered" items.)

I was not able to test this on master because of bug 32445, but I tried it on
22.05.05

To test:

1. Set up a circulation rule where on shelf holds are not allowed and force the
choosing of an item (to facilitate the test)
   1.1. Go to Administration > Circulation and fines rules
   1.2. In the matrix, add a circulation like this
        - Patron category: All
        - Item type: Books
        - Current checkouts allowed: 10
        - Current on-site checkouts allowed: 10
        - Loan period: 21
        - Holds allowed (total): 10
        - Holds allowed (daily): 10
        - Holds per record (count): 10
        - On shelf holds allowed: If any unavailable
        - OPAC item level holds: Force
   1.3. Click Save
2. Create a record with one "Ordered" item (or any negative value not for loan
status)
   2.1. Go to Cataloging
   2.2. Click New record
   2.3. Fill out the mandatory fields (by default in MARC21: 000, 003, 005,
008,  040$c, 245$a, and 942$c (942$c should be set to Books))
   2.4. Click Save
   2.5. Fill out the following item fields
        - Not for loan: Ordered
        - Koha item type: Books
   2.6. Click Add item
   2.7. Click Normal to go to the detailed record
3. Try to place a hold on the "Ordered" item
   3.1. From the detailed record, click OPAC view: Open in new window.
   --> Note that the "Place hold" option is not present
4. Add a second "Available" item
   4.1. Back in the staff interface tab with the detailed record, click New >
New item
   4.2. Make sure the item type is set to Books
   4.3. Add a barcode in p
   4.4. Click Add item
5. Try again to place a hold on the "Ordered" item
   5.1. Go back to the OPAC tab and refresh the page
   --> Note that the "Place hold" option is still not present
6. Check out the available item to a patron
   6.1. In the staff interface tab, copy the barcode from the available item
   6.2. Go to Patrons
   6.3. Click on Search
   6.4. Click Check out next to one of the patrons
   6.5. Paste the barcode in the box and click Check out
7. Try again to place a hold on the "Ordered" item
   7.1. Go back to the OPAC tab and refresh the page
   --> Note that the "Place hold" option is now present
   7.2. Click Place hold
   --> Note that only the checked out item is available to place on hold, if
you click Show unholdable items, it will show the Ordered item, but you can't
place a hold on it.

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


More information about the Koha-bugs mailing list