Summary: | Move RevertWaitingStatus to Koha::Hold->revert_waiting() | ||
---|---|---|---|
Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Component: | Architecture, internals, and plumbing | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | Signed Off --- | ||
Severity: | enhancement | CC: | kyle, tomascohen |
Priority: | P5 - low | ||
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40062 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 40055 | ||
Bug Blocks: | 17728 | ||
Attachments: |
Bug 40058: Add Koha::Hold->revert_waiting()
Bug 40058: Remove RevertWaitingStatus() Bug 40058: Adjust existing tests Bug 40058: Add Koha::Hold->revert_waiting() Bug 40058: Remove RevertWaitingStatus() Bug 40058: Adjust existing tests |
Description
Tomás Cohen Arazi (tcohen)
2025-06-03 13:01:30 UTC
Created attachment 182924 [details] Bug 40058: Add Koha::Hold->revert_waiting() This patch adds a new method to the `Koha::Hold` class. The method follows the original implementation in C4::Reserves. Tests are added to cover all the code paths. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/Hold.t => SUCCESS: Tests pass :-D 3. Sign off :-D Created attachment 182925 [details] Bug 40058: Remove RevertWaitingStatus() Created attachment 182926 [details] Bug 40058: Adjust existing tests Created attachment 182941 [details] Bug 40058: Add Koha::Hold->revert_waiting() This patch adds a new method to the `Koha::Hold` class. The method follows the original implementation in C4::Reserves. Tests are added to cover all the code paths. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/Hold.t => SUCCESS: Tests pass :-D 3. Sign off :-D Signed-off-by: David Nind <david@davidnind.com> Created attachment 182942 [details] Bug 40058: Remove RevertWaitingStatus() Signed-off-by: David Nind <david@davidnind.com> Created attachment 182943 [details] Bug 40058: Adjust existing tests Signed-off-by: David Nind <david@davidnind.com> |