From 289e8f445ea4dde315a23fa5c9cd565add264b7e Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Tue, 30 Oct 2007 13:02:38 -0500 Subject: [PATCH] DO NOT return if SimpleSearch give no result, we need to check reservoir too Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- cataloguing/addbooks.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 38b7eb4247..6e45ed5f40 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -77,13 +77,6 @@ if ($query) { exit; } - if(not defined $marcresults){ - $template->param(query => $query); - warn "no result found"; - output_html_with_http_headers $input, $cookie, $template->output; - exit; - } - # format output my $total = scalar @$marcresults; my @newresults = searchResults( $query, $total, $results_per_page, $page-1, @$marcresults ); -- 2.39.5