[Koha-bugs] [Bug 14237] Allow bibs to be added to course without items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 11 21:21:48 CEST 2021


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

--- Comment #51 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 121881
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121881&action=edit
Bug 14237: (follow-up) Make the routines exclusively take itemnumber,
biblionumber, or ci_id

This patch changes the parameters for several of the CourseReserves routines to
take a single
identifier exclusively.

Following the existing pattern we simply return if the params are incorrect

This patch also:
removes an unused 'title' variable
adds a prefetch to save some db calls where we fetch related objects
adjusts tests

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list