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

--- Comment #16 from Marcel de Rooy <[email protected]> ---
I grepped ->find in the SIP modules.
By far, most calls look fine.

This one shoud be a search:
[looks bad] ILS/Item.pm:    my $hold = Koha::Holds->find( { itemnumber =>
$self->{itemnumber}, found => 'W' } );

This should probably be a search too. Permanent location cant be assumed to be
a branch code.
[looks bad] ILS.pm:                $permanent_location = Koha::Libraries->find(
$item->{permanent_location} )->branchname;

Does not yet explain why I saw the warn on Objects L95 at login time (930).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to