https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19966
--- Comment #6 from Tomás Cohen Arazi <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
