[Koha-bugs] [Bug 19933] Move C4::Members::patronflags to the Koha namespace - part 1

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 16 15:44:51 CET 2018


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

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 71806
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71806&action=edit
Bug 19933: Remove patronflags - tricky ones

Here we are, patronflags is used in a couple of places where (almost) all flags
were really useful: C4::SIP::ILS::Patron->new and circulation.pl

This patch only deal with the circulation code as I am not convident
enough with SIP code.

The change does not seems trivial because of the complexity of the
existing code, but the logic is the same. We send a variable to the
template depending on the situation of the patron.

I guess only code eyes ball could catch issue in this patch quickly.

Maybe we need to find a good place in a Koha module to move this code
and provide code coverage (especially when C4::SIP::ILS::Patron will
reuse it).

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


More information about the Koha-bugs mailing list