[Koha-bugs] [Bug 17317] Adding "bib" type to GetAvailability method for ILSDI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 28 14:22:53 CEST 2016


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

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 55775
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55775
Bug 17317: ILSDI - Getavailability method with id_type=bib implementation

Review of attachment 55775:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17317&attachment=55775)
-----------------------------------------------------------------

::: C4/ILSDI/Services.pm
@@ +136,5 @@
>              my $msg;
>              my $biblioitem = ( GetBiblioItemByBiblioNumber( $id, undef ) )[0];
>              if ($biblioitem) {
> +                my $biblioitemnumber = $biblioitem->{'biblioitemnumber'};
> +                my $items            = (GetItemsByBiblioitemnumber($biblioitemnumber))[0];

I think it would be better to use GetItemnumbersForBiblio instead of
GetItemsByBiblioitemnumber, we just need the itemnumbers.

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


More information about the Koha-bugs mailing list