From 6da3dff2b18247441c719aa2eb74c7fc417d09f3 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 (cherry picked from commit 42e9044f1195a512870d4e1dc01679a64d47f4d9) Signed-off-by: Chris Cormack --- cataloguing/addbooks.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index a9cd6e8703..70ce3cc402 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