]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 20 Dec 2019 18:13:22 +0000 (18:13 +0000)
commit6193a6b7453b1002aa22ef7b636579117187cddc
tree9ff5c8e63044f02fb43552820419d4f106a8f840
parent3ca3df4828683f7ffd6d0c1b7f13754be1508ffb
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>
(cherry picked from commit bf793c3fe0e9007e81d0258ac26a70c38aa02978)

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