]> git.koha-community.org Git - koha.git/commit
Bug 27209: Add Koha::Hold->set_pickup_location
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 11 Dec 2020 19:51:42 +0000 (16:51 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Dec 2020 09:07:45 +0000 (10:07 +0100)
commit672413ea294679d4b5b30d30839650f6d30b45ca
tree1ce549349c414a92053e95eed3ded0bf388397dd
parent295787223e4dbbe116cba20119db05da4992e0b1
Bug 27209: Add Koha::Hold->set_pickup_location

This patch introduces a method to safely update a hold's pickup
location. It will raise exceptionis if the passed parameters are invalid
or absent.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Hold.t
=> SUCCESS; Tests pass
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Exceptions/Hold.pm
Koha/Hold.pm