Bug 7958 - Batch Item Delete Fails
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 14 Apr 2012 10:13:44 +0000 (12:13 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 18 Apr 2012 15:09:50 +0000 (17:09 +0200)
Adding back "use C4::Search;" in Items.pm fixes the problem.

I think this is probably related to the denesting efforts.

Signed-off-by: Ian Walls <koha.sekjal@gmail.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Items.pm

index 7e98bb5..52423a2 100644 (file)
@@ -30,6 +30,7 @@ use MARC::Record;
 use C4::ClassSource;
 use C4::Log;
 use List::MoreUtils qw/any/;
+use C4::Search;
 use Data::Dumper; # used as part of logging item record changes, not just for
                   # debugging; so please don't remove this