From a6ca29243a0cd22fc96a76bc8cb522f4e8972b8e Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
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 <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
---
 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,
-- 
2.1.0