[Koha-bugs] [Bug 15496] Delete bibliographic record after moving last item to another record(s)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 15:06:01 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15496
--- Comment #44 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Comment on attachment 88894
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88894
Bug 15496: Delete Bib After Moving Item
> =head3 items
>
>-my @items = $biblio->items();
> my $items = $biblio->items();
>
>-Returns the related Koha::Items object for this biblio in scalar context,
>-or list of Koha::Item objects in list context.
>+Returns the related Koha::Items object for this biblio
>
> =cut
>
>@@ -363,10 +361,7 @@ sub items {
>
> my $items_rs = $self->_result->items;
>
>- return
>- wantarray
>- ? Koha::Items->_new_from_dbic($items_rs)->as_list
>- : Koha::Items->_new_from_dbic($items_rs);
>+ return Koha::Items->_new_from_dbic( $items_rs );
> }
This was a bad rebase. We should revert the last follow-up, and fix this. I can
provide such a follow-up.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list