[Koha-bugs] [Bug 14292] Add --category and --skip-category options to longoverdue.pl to include or exclude borrower categories.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 1 22:19:53 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14292
Barton Chittenden <barton at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43489|0 |1
is obsolete| |
Attachment #43490|0 |1
is obsolete| |
Attachment #43491|0 |1
is obsolete| |
Attachment #43492|0 |1
is obsolete| |
Attachment #43493|0 |1
is obsolete| |
Attachment #43494|0 |1
is obsolete| |
--- Comment #26 from Barton Chittenden <barton at bywatersolutions.com> ---
Created attachment 45293
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45293&action=edit
Bug 14292: Add patron category restrictions to longoverdue.pl
Squashed prevoius patch set.
Add command line options --category and --skip-category
Convert usage() to pod2usage. (This was previous FIXME)
Make borrower category handling more user friendly:
Make --category and --skip-category mutally exclusive
Check that categories specified by --category
and --skip-category exist in categories table.
Add --list-categories opttion to show available
borrower categories.
http://bugs.koha-community.org/show_bug.cgi?id=14292
QA Follow-up
QA fixes - wording and trailing whitespaces
Simplify the category list
Basically we have 3 lists of categories:
1/ The full one, in the DB
2/ The one we want and list with --category
3/ The one we don't want and list with --skip-category
The list of categories to process is:
* 1 if none --category or --skip-category options are provided
* 2 if --category is provided
* 1 - 3 if --skip-category is provided
(follow-up) Make --category and --skip-category case insensitive
"my" variable $borrower_category masks earlier declaration in same scope
"my" variable $skip_borrower_category masks earlier declaration in same scope
Signed-off-by: hbraum at nekls.org
Signed-off-by: Barton Chittenden <barton at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list