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

--- Comment #88 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 208420
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208420&action=edit
Bug 42386: (follow-up) Accept all availability statuses in
club_holds_to_patron_holds.error_code

The availability classes also report patron eligibility and other
statuses (expired, restricted, debt_limit, hold_limit, no_item_available,
...) that CanItemBeReserved and CanBookBeReserved never returned before.
Koha::Club::Hold::add stores that status as the error_code of the member's
patron hold row, and as it was not part of the ENUM, placing a club hold
for a club with an expired or restricted member died with a 500 and
recorded nothing.

Extend the ENUM with every status the availability classes can return.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to