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

--- Comment #10 from Baptiste Wojtkowski (bwoj) 
<[email protected]> ---

(In reply to Jonathan Druart from comment #9)
> Should not we unlink from Koha::Item->remove_from_bundle?


In my opinion, here we want that add_to_bundle and remove_from_bundle work the
same way. Since add_to_bundle requires calling link_marc_host aside, I would
say that we want to build remove_from_bundle the same way, don't you think ?

Hereafter a call to add_to_bundle in Koha/REST/V1/Items.pm

327         my $link = $item->add_to_bundle( $bundle_item, $options );
328         if ($add_link) {
329             $bundle_item->biblio->link_marc_host( { host => $item->biblio }
);
330         }

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to