| Summary: | Holds API doesn't follow holds policies like the staff/OPAC UIs | ||
|---|---|---|---|
| Product: | Koha | Reporter: | David Cook <dcook> |
| Component: | REST API | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P5 - low | CC: | arthur.suzuki, blawlor, jonathan.druart, tomascohen |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32702 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
David Cook
2023-05-23 06:56:53 UTC
Does this still apply? Look: https://git.koha-community.org/Koha-community/Koha/src/commit/efc39ed8ef583258a8cf8ea7f6da142995d0bc4b/Koha/REST/V1/Holds.pm#L91 Rules can only be overridden if the syspref is enabled, and the API is sent the `x-koha-override` header with the right value. Hi Thomas, I think David is speaking about something else, Some of the controls are wrongly implemented into the pl files instead of centralized in C4/Reserves.pm. This creates inconsistencies in how the controls are done depending of how a reservation is made, from the interface or ILS-DI or API. If I understand David right, I think this ticket is a duplicate of this omnibus bug : 30845. Best, Arthur *** This bug has been marked as a duplicate of bug 30845 *** |