https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20825
--- Comment #19 from Katrin Fischer <[email protected]> --- Created attachment 75608 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75608&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!" Signed-off-by: Tomas Cohen Arazi <[email protected]> I reproduced the error condition and verified the tests failed without this patch. After this patch is applied, tests pass and checkout succeeds. Signed-off-by: Katrin Fischer <[email protected]> -- 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/
