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

Brendan Lawlor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #178055|0                           |1
        is obsolete|                            |
 Attachment #178056|0                           |1
        is obsolete|                            |

--- Comment #7 from Brendan Lawlor <[email protected]> ---
Created attachment 178098
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178098&action=edit
Bug 38615: Add ability to set hold cancellation request via SIP

To test:
1. APPLY PATCH, updatedatabase, restart_all
2. Search for the new system preference HoldCancellationRequestSIP, it should
be set to 'Don't'. Leave it as is.
3. Make some holds, either in the staff client of via SIP.
    -/kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su
term1 -sp term1 -m hold --patron 23529000035676 --item 39999000001310
--hold-mode +

4. Mark the hold as waiting.
5. Cancel it via SIP:
    -/kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su
term1 -sp term1 -m hold --patron 23529000035676 --item 39999000001310
--hold-mode -

6. The hold is cancelled like normal, the screen msg should be "Hold
Cancelled."
7. Change HoldCancellationRequestSIP to 'Do'.
8. Do steps 3-5 again.
9. Now the screen message is 'Hold Cancellation Requested.'
10. Now check Holds awaiting pickup. In the "Holds with cancellation requests"
tab you should now see the hold from step 8.

Signed-off-by: Brendan Lawlor <[email protected]>

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