[Koha-bugs] [Bug 20276] GetCourseItem is using the wrong call to get itemnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 11:50:07 CET 2018


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

--- Comment #2 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 72110
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72110&action=edit
Bug 20276: Fix GetCourseItem call to get itemnumber

In 17.05.x :
In course_reserves/add_items.pl we now get the item via Objects.
This line:
 66     my $course_item = GetCourseItem( itemnumber => $item->{'itemnumber'} );
Should be:
 66     my $course_item = GetCourseItem( itemnumber => $item->itemnumber );

This is corrected since 17.11 by :
Bug 18276: Remove GetBiblioFromItemNumber - Course reserves

Test plan :
1) Create a course reserve and add items.
2) Correct information must be displayed on the detail page of the course
reserve, on staff and OPAC interface.
3) Try to add a non existing barcode, you get the page with a message

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list