From 6db304f2db231c2fe491d7da273f0ca75daee8d1 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 22 May 2013 14:51:00 +0200 Subject: [PATCH] Bug 10381: POD lines of GetBasketsInfosByBookseller Signed-off-by: Marcel de Rooy Signed-off-by: Cedric Vita Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton (cherry picked from commit 5bf996f68d2279ae9582b338b3d094ad20f7596c) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 1530cee8a50006bbaa013676917086175401968c) Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit 1530cee8a50006bbaa013676917086175401968c) --- C4/Acquisition.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index a882cf6ea1..f50db974ae 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -568,7 +568,11 @@ sub GetBasketsByBookseller { =head3 GetBasketsInfosByBookseller - my $baskets = GetBasketsInfosByBookseller($supplierid); + my $baskets = GetBasketsInfosByBookseller($supplierid, $allbaskets); + +The optional second parameter allbaskets is a boolean allowing you to +select all baskets from the supplier; by default only active baskets (open or +closed but still something to receive) are returned. Returns in a arrayref of hashref all about booksellers baskets, plus: total_biblios: Number of distinct biblios in basket -- 2.39.5