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

--- Comment #5 from Matt Blenkinsop <[email protected]> ---
Created attachment 204007
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204007&action=edit
Bug 43126: Add an endpoint to test item hold eligibility

Adds GET /items/{item_id}/holdability, which covers the item's own state, the
circulation rules and the patron's eligibility for a single item.

Pass pickup_library_id to also check the pickup location rules, or
include_pickup_locations to get the valid locations in the same response and
save a second call.

Moves the pickup location response building out of Items#pickup_locations into
a helper that both methods share.

Assisted-by: Sonnet 5 (Anthropic)

-- 
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