Bug 26459: Add hold-mode option to sip_cli_emulator
authorNick Clemens <nick@bywatersolutions.com>
Mon, 14 Sep 2020 17:02:20 +0000 (17:02 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Apr 2021 14:08:04 +0000 (16:08 +0200)
commit9ff8bb69e1e91596dec7b21cb75aeaaa04c6b097
tree754ee6cf880c16992f89d5b77213b8c7ac0d0723
parentee84877a87ad79ce2deaf9e1b2ad0c11eb214952
Bug 26459: Add hold-mode option to sip_cli_emulator

To test:
1 - Apply patch
2 - Restart all
3 - Place an item level hold for a patron via the staff client
4 - Cancel the hold using the sip_cli_emulator with hold-mode: -
perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 --patron {cardnumber} --item {BARCODE}  -m hold -l CPL --hold-mode -
5 - Run the sip_cli_emulator with no params
6 - Verify help text is understandable

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/sip_cli_emulator.pl