[Koha-bugs] [Bug 15534] Add the ability to prevent a patron from placing a hold on a record with available items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 27 17:59:03 CEST 2016


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Passed QA

--- Comment #38 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
1 = YES (unchanged, we don't care about availability)
2 = If all unavailable (new behaviour)
0 = If any unavailable (former 'no' = old behaviour)
    Note for 0: old behaviour is also, that item level holds can only 
    be placed on checked out items.

Testing with a all-all-all rule at first:
1 item: 1 checked out
- Yes: Can place hold
- If all unavailable: Can place hold
- If any unavailable: Can place hold

1 item: 1 available
- Yes: Can place hold
- If all unavailable: No hold
- If any unavailable: No hold

2 items: 1 checked out, 1 available
- Yes: Can place hold, item holds can be placed on both items
- If all unavailable: No hold
- If any unavailable: Can place hold, item hold only on checked out item

2 items: 1 checked out, 1 available and damaged
AllowHoldsOnDamagedItems = No holds
- Yes: Can place hold, item hold only on checked out item
- If all unavailable: damaged item is not available = can place hold, item
level on checked out
- If any unavailable: Can place hold, item hold only on cheked out item
AllowHoldsOnDamagedItems = Holds allowed
- If all unavailable: No hold, damaged item is counted available

2 items: both available, different itemtypes A and B
A B
1:0 can place holds, item level only on A
1:1 can place holds, item level on both
1:2 can place holds, item level only on A
2:2 no hold
2:0 no hold
0:0 no hold

2 items: both available, different itemtypes A and B, B checked out
A B
1:0 can place holds, item level on both
1:1 can place holds, item level on both
1:2 can place holds, item level only on A
2:2 no hold.
2:0 can place holds, item level only on B
0:0 can place holds, item level only on B
and this time also:
0:1 can place holds, item level only on B
2:1 can place holds, item level only on B
0:2 no hold

Note: for 2 all items on the record are taken into account,
independent of the rule applying to them.

More tests could be done, but looking a the code and the results I believe this
to be working as intended.

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


More information about the Koha-bugs mailing list