From 42e9044f1195a512870d4e1dc01679a64d47f4d9 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 Signed-off-by: Tomas Cohen Arazi --- cataloguing/addbooks.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 1ed4307ce3..54a1208b95 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.2