Bug 24168: (bug 23116 follow-up) AllowHoldPolicyOverride allows a librarian to almost...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Dec 2019 15:04:45 +0000 (16:04 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 20 Dec 2019 15:06:12 +0000 (15:06 +0000)
commit85a58e6f62a7b5a4eedcebb5e77f6f9776734780
tree87c963c9ab6fd7a788c9b42ea66597d27f607d18
parente2b835d12f6f5bc0491b97d5842304e410b9c0c4
Bug 24168: (bug 23116 follow-up) AllowHoldPolicyOverride allows a librarian to almost place a hold on an item already on hold

This patch actually fixes the issue described on bug 23116.

Test plan:
See bug 23116 and comment 5. Important to note that the later comparison with
itemAlreadyOnHold assumes that the variable is a string.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit c5336e24eb24c0faa7d28faa96bd40b13ccf834c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
reserve/request.pl