From 84212a15c68dc10323d0ad66dcd03407093547a1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Dec 2014 09:50:38 +0100 Subject: [PATCH] [PASSED QA] 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 a9cd6e8..70ce3cc 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, -- 1.9.1