From 4c80f139ba46e24ae106dddbd6d007306a7881b2 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) Signed-off-by: Chris Hall (cherry picked from commit f57dab4b0d385cb9e6a21f1248661fc655dd4cee) --- C4/Acquisition.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index ac4cdfee48..7504bc09c3 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -467,7 +467,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