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

--- Comment #496 from David Cook <[email protected]> ---
(In reply to Pedro Amorim from comment #493)
> Fresh k-t-d, all patches applied, reset_all (DisplayAddHoldGroups already
> enabled):
> 1) Search for 'music':
>    http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=music
> 2) Select the checkbox on the 1st record (Nordic roots) and 3rd record
> (Clothes, clothes...)
> 3) Click the 'Place hold' button
> 4) Search for 'koha (42)' user. Pick that.
> 5) Check the 'treat as hold group' checkbox
> 6) Select the pickup locations 'Fairfield' for Nordic root, 'Fairview' for
> Clothes, clothes... Click 'Place holds'.
> 7) Visit the user page:
>    http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=51
> 8) Notice the holds tab marks '1' hold (considering the hold group as one
> hold) but lists both holds, with each having the 'part of a hold group' link.
> 9) Check-in an item of 'Nordic roots': 39999000003154
> 10) Click 'Confirm hold and transfer'.
> 11) Repeat 7) Notice both holds are still present. I would expect the
> 'Clothes, clothes...' hold to have been deleted now that the hold group has
> been satisfied.

So this one is interesting. If you changed branches to "Fairfield" and checked
in "Nordic roots", you'd see the other hold get cancelled/deleted.

It looks like this code doesn't cancel the other hold until one of the holds is
found and waiting. (Currently looking at C4::Reserves::ModReserveAffect)

I've double-checked locally and that's how it works in prod, but I could see
different libraries wanting different choices. For some, the hold isn't
available to patrons until it is waiting on the shelf, so I suppose they could
cancel the hold while it's in transit or the item could get lost in transit,
and then they might want one of the other holds in the group.

It's an interesting one for sure.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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