[Koha-bugs] [Bug 31458] Remove Koha::Patron::Debarment::AddDebarment and use $patron->add_restriction in preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 4 12:38:24 CET 2023


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

--- Comment #8 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
OK, So Kyle suggests we can/should remove the debarred and debarredcomment
fields from the borrowers table.

We do however return a restricted boolean field in the current API.. I think it
makes a fair bit of sense to continue to return this piece of primary
information about the borrower there.. but it opens up the question.. should we
actually remove the field from the table now and thus require a join for API
queries or should I go ahead of convert the current date field to a proper
boolean that's maintained by add_restriction and friends?

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


More information about the Koha-bugs mailing list