]> git.evergreen-ils.org Git - working/NCIPServer.git/commit - lib/NCIP/ILS/Evergreen.pm
Fix NCIP::ILS::Evergreen->place_hold.
authorJason Stephenson <jason@sigio.com>
Sat, 11 Oct 2014 17:38:23 +0000 (13:38 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 11 Oct 2014 17:38:23 +0000 (13:38 -0400)
commita955f87c139bf1617cfdcc17e83cd571bccc2005
tree55d5b1e2bb5de9044e2c447b38f6170a1bcbf2a9
parent4ae229d63b4f3ef4575bb46da4dbf32d18fa6b91
Fix NCIP::ILS::Evergreen->place_hold.

We better take into account what open-ils.circ.holds.create returns.

We check for an array of errors and use the first one.

We also look up the hold for the id returned. I forgot that it only
returns the id and not the whole hold object created.

Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS/Evergreen.pm