Bug 27729: Fix use of grep and split in CheckReserves
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 19 Feb 2021 10:17:26 +0000 (10:17 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 25 Feb 2021 09:42:33 +0000 (10:42 +0100)
commita29962440451cc7b3cd79370008eea94c83e9c8e
tree70ffec1208dbac168d76569c40dff217ff09fb65
parent77b81733d7702cef02d4b19702effc1eb5c64ae0
Bug 27729: Fix use of grep and split in CheckReserves

A few lines of code were added to CheckReserves containing the wrong
use of two perl functions: grep and split on bug 25232.
A test was added even making these things pass.

Test plan:
Run t/db../Holds.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c4c3d1e93c337d93679e50f2354c8b060e50bcd9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Reserves.pm