[Koha-bugs] [Bug 12446] Enable an adult to have a guarantor
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 11 22:11:02 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12446
--- Comment #138 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to David Cook from comment #137)
> (In reply to Jonathan Druart from comment #135)
> > It's coming from the default value in DB, why did you default to 0? I think
> > it should default to 1.
>
> I think defaulting to 1 would be logical, but that would also be a change in
> system behaviour, since previously only patron categories C and P could be
> guaranteed it seems.
>
> Maybe it's a case where the default should be 1, but we set it to 0 for
> non-C and non-P patrons when doing a database update...
But that's exactly what this patch does:
$dbh->do("UPDATE categories SET canbeguarantee = 1 WHERE category_type = 'P' OR
category_type = 'C'");
Jonathan, do you have neither P nor C categories maybe? Maybe we should hide
the option then intead.
Note: with the normal sample data that should be working.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list