]> git.koha-community.org Git - koha.git/commit
Bug 26698: Use is_at_destination to determine if hold is at destination
authorNick Clemens <nick@bywatersolutions.com>
Thu, 15 Oct 2020 19:24:24 +0000 (19:24 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 13 Jan 2021 21:50:48 +0000 (21:50 +0000)
commitdbef2392074f82dfbe83cd60f8589de8a5489c55
tree426d32e2ab8a9200012425919334c8cbb37b0aff
parentdb65e8ff873020214ae339e8efad29b5f4179834
Bug 26698: Use is_at_destination to determine if hold is at destination

This copies code from bug 12556 and uses a Koha::Hold method rather than
code in script

TO test:
1 - Place a hold for item from library B for delivery at library A
2 - Check the item in at library B, confirm and transfer
3 - Check item in at Library A but ignore the hold
4 - View the Holds tab of the details page:
    http://localhost:8081/cgi-bin/koha/reserve/request.pl?biblionumber=6
5 - Priority = "In transit"  Pickup Library = "Item waiting at"
6 - Apply patch
7 - Restart all the thigns
8 - Reload the page
9 - Priority="In transit" and Pickup library="Item being transferred"

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
reserve/request.pl