[Koha-bugs] [Bug 19966] Add ability to pass objects directly to slips and notices
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 20 21:31:15 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19966
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #5)
> Kyle and Tomas, What about this last patch?
I think (in terms of the problem you highlight) that the read_only flag should
be passed when creating the object, and immutable. Like this:
my $patrons = Koha::Patrons->search( $criteria, $attributes, $read_only );
And then, it should be inherited by each of the generated objects:
while (my $patron = $patrons->next ) {
print "Patron " . $patron->id . " readonly!"
if $patron->read_only;
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list