[Koha-bugs] [Bug 20436] Add ability to specify itemtypes for longoverdue.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 2 10:25:43 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20436

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+    'l|lost=s%'       => \$lost,

     'category=s'      => $borrower_category,
     'skip-category=s' => $skip_borrower_category,
     'list-categories' => \$list_categories,
+    'itemtype=s'      => $itemtype,
+    'skip-itemtype=s' => $skip_itemtype,
+    'list-itemtypes'  => \$list_itemtypes,

This is a confusing mix of handling options.
I think we should always pass a reference like name => \$option,
but as you can see we already deviate from that here.
But you are adding new cases.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list