]> git.koha-community.org Git - koha.git/commit
Bug 24106: In returns.pl, don't search for item if no barcode is provided
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 25 Nov 2019 18:18:16 +0000 (13:18 -0500)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 19 Dec 2019 22:06:59 +0000 (22:06 +0000)
commitbf793c3fe0e9007e81d0258ac26a70c38aa02978
treeccbe628d20760815cd6dd72d598cd341372e4490
parent6f102abcb1878f39a03d72141c512cb84602aaa7
Bug 24106: In returns.pl, don't search for item if no barcode is provided

When loading returns.pl, code to check rotating collections fires off an search for items by barcode, but doesn't check for a barcode first. This means the code will search for items where barcode is NULL, which is definitely not the intended function.

Test Plan:
1) Apply this patch
2) Set up a rotating collection with items
3) Transfer the collection
4) Check in a rotating collection item
5) Note no change in functionality

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
circ/returns.pl