Bug 10852: (follow-up) update the POD for C4::Serials::SearchSubscriptions
authorGalen Charlton <gmc@esilibrary.com>
Sat, 14 Dec 2013 00:33:25 +0000 (00:33 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 14 Dec 2013 00:35:22 +0000 (00:35 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Serials.pm

index 4175acc..1e60060 100644 (file)
@@ -628,13 +628,27 @@ sub GetSubscriptions {
 
 =head2 SearchSubscriptions
 
-@results = SearchSubscriptions($args);
-$args is a hashref. Its keys can be contained: title, issn, ean, publisher, bookseller and branchcode
-
-this function gets all subscriptions which have title like $title, ISSN like $issn, EAN like $ean, publisher like $publisher, bookseller like $bookseller AND branchcode eq $branch.
-
-return:
-a table of hashref. Each hash containt the subscription.
+  @results = SearchSubscriptions($args);
+
+This function returns a list of hashrefs, one for each subscription
+that meets the conditions specified by the $args hashref.
+
+The valid search fields are:
+
+  biblionumber
+  title
+  issn
+  ean
+  callnumber
+  location
+  publisher
+  bookseller
+  branch
+  expiration_date
+  closed
+
+The expiration_date search field is special; it specifies the maximum
+subscription expiration date.
 
 =cut