]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 28 Dec 2020 13:41:01 +0000 (14:41 +0100)
commit18578794d9e5ac3c5e5c0548989224149bccae60
tree5d3b977a1961a0a7a2f2872b6980ab61e9c2e127
parent7ac140820b76d65c1deff63f4a11e745cb3a1733
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>
(cherry picked from commit 672413ea294679d4b5b30d30839650f6d30b45ca)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Exceptions/Hold.pm
Koha/Hold.pm