From f64f8f98bb713afbc93162b05c22cbf0a19a9cdd Mon Sep 17 00:00:00 2001 From: Andrew Moore Date: Fri, 25 Jul 2008 11:55:13 -0500 Subject: [PATCH] Bug 1953 [3/3]: documentation changes for C4::items::GetItemsForInventory This patch corrects what appears to me to be a few defficiencies in the documentation for C4::items::GetItemsForInventory. I noticed them while writing test methods for this sub. Signed-off-by: Joshua Ferraro --- C4/Items.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index cbbfc0dd76..f9edacfa6e 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -915,16 +915,17 @@ sub GetLostItems { =over 4 -$itemlist = GetItemsForInventory($minlocation,$maxlocation,$datelastseen,$offset,$size) +$itemlist = GetItemsForInventory($minlocation, $maxlocation, $location, $itemtype $datelastseen, $branch, $offset, $size); =back Retrieve a list of title/authors/barcode/callnumber, for biblio inventory. -The sub returns a list of hashes, containing itemnumber, author, title, barcode & item callnumber. -It is ordered by callnumber,title. +The sub returns a reference to a list of hashes, each containing +itemnumber, author, title, barcode, item callnumber, and date last +seen. It is ordered by callnumber then title. -The minlocation & maxlocation parameters are used to specify a range of item callnumbers +The required minlocation & maxlocation parameters are used to specify a range of item callnumbers the datelastseen can be used to specify that you want to see items not seen since a past date only. offset & size can be used to retrieve only a part of the whole listing (defaut behaviour) -- 2.39.5