Bug 31907: Show items as On hold when in processing
authorStefan Berndtsson <stefan.berndtsson@gmail.com>
Fri, 21 Oct 2022 12:10:42 +0000 (14:10 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Nov 2022 23:08:46 +0000 (20:08 -0300)
commitce4404002d5119f0cbfded906b0b10ec9354f690
treef4c77b59b6c4dcff162010e9b7d272cdc5161bd4
parentc6ddce6b215d8fe36b29579d3a02bfaa0d6641e8
Bug 31907: Show items as On hold when in processing

Test plan:
1. Make sure syspref "opacbookbag" is set to "Allow".
2. Make sure syspref "HoldsNeedProcessingSIP" is set to "Don't fulfill".
3. Place a hold on an item.
4. Return item via SIP at the pickup library.
5. View biblio in Opac.
6. Note that it says "Available" as status.
7. Add biblio to Cart.
8. Open Cart.
9. Note that it says "Available" as status.
10. Apply patch.
11. Reload Opac page.
12. It should now say "On hold".
13. Reload Card page.
14. It should also say "On hold".

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Holds.pm
koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc
opac/opac-basket.pl
t/db_dependent/Koha/Holds.t