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.
---
C4/Items.pm | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/C4/Items.pm b/C4/Items.pm
index e16cd1b..bf5208c 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)
--
1.5.6
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches