[Koha-bugs] [Bug 17168] Add a command line script for updating patron category based on status

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 31 13:17:29 CEST 2018


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

--- Comment #19 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Nick Clemens from comment #18)
> > 5. Why?
> > +    my $remove_guarantor = ( $to_cat->category_type ne 'C' ||
> > $to_cat->category_type ne 'P' ) ? 1 : 0;
> When this was written adults couldn't have guarantors and we stripped them
> when updating - I suppose this can be removed?
Ah, j2a still does this - I think removing for children makes sense, maybe not
touch otherwise so maybe:
my $remove_guarantor = ( $from_cat->category_type eq 'C');

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


More information about the Koha-bugs mailing list