From f532d27302596b1736b67f81c6520160c4e3d8f0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 29 Nov 2016 09:16:55 +0000 Subject: [PATCH] Bug 13726: Fix for serials/acqui-search-result.pl Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- serials/acqui-search-result.pl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/serials/acqui-search-result.pl b/serials/acqui-search-result.pl index 595b6ed802..c159d294e8 100755 --- a/serials/acqui-search-result.pl +++ b/serials/acqui-search-result.pl @@ -63,13 +63,12 @@ my ($template, $loggedinuser, $cookie) my $supplier=$query->param('supplier'); my @suppliers = Koha::Acquisition::Booksellers->search({ name => $supplier }); -#my $count = scalar @suppliers; #build result page my $loop_suppliers = []; for my $s (@suppliers) { my $orders = SearchOrders({ - booksellerid => $s->{'id'}, + booksellerid => $s->id, pending => 1 }); @@ -85,9 +84,9 @@ for my $s (@suppliers) { } push @{$loop_suppliers}, { loop_basket => $loop_basket, - aqbooksellerid => $s->{'id'}, - name => $s->{'name'}, - active => $s->{'active'}, + aqbooksellerid => $s->id, + name => $s->name, + active => $s->active, }; } -- 2.39.5