http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14292
Barton Chittenden <bar...@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 <bar...@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: hbr...@nekls.org Signed-off-by: Barton Chittenden <bar...@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/