SIP abstraction layer implementation for ILS, Items and Patrons.
[koha_fer] / cataloguing / addbooks.pl
index a24797b..1876133 100755 (executable)
@@ -68,7 +68,7 @@ foreach my $thisframeworkcode ( keys %$frameworks ) {
 if ($query) {
 
     # find results
-    my ( $error, $marcresults ) = SimpleSearch($query);
+    my ( $error, $marcresults, $total_hits ) = SimpleSearch($query);
 
     if ( defined $error ) {
         $template->param( error => $error );