[Koha-bugs] [Bug 20825] The method is not covered by tests!
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 28 16:29:47 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20825
--- Comment #13 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 75592
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75592&action=edit
Bug 20825: (bug 19943 follow-up) call notforloan on itemtype instead of
biblioitem
On bug 19943:
- elsif ($biblioitem->{'notforloan'} == 1){
+ elsif ($biblioitem->notforloan == 1){
The biblioitems table does not contain a notforloan column, this comes
from the item type.
This bug only appears when item type is defined at biblio level
(item-level_itypes=0)
Test plan:
Set item-level_itypes = biblio
Check an item out
Without this patch it explodes with
"The method notforloan is not covered by tests!"
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list