From 40b2587164d8b40294aeabebc1412000ef64d4da Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Dec 2014 09:50:38 +0100 Subject: [PATCH] Bug 13268: the size should not be emptied in pl script It duplicates what the first patch does. Signed-off-by: Jonathan Druart Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer --- cataloguing/addbooks.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 0cfd7e89de..360b48806b 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -95,9 +95,6 @@ if ($query) { # SimpleSearch() give the results per page we want, so 0 offet here my $total = @{$marcresults}; my @newresults = searchResults( 'intranet', $query, $total, $results_per_page, 0, 0, $marcresults ); - foreach my $line (@newresults) { - if ( not exists $line->{'size'} ) { $line->{'size'} = "" } - } $template->param( total => $total_hits, query => $query, -- 2.39.5