Browse Source

Bug 9303 [QA Followup] - Restore missing biblio relationship

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
new_12478_elasticsearch
Kyle Hall 9 years ago
parent
commit
cd77a7b74e
  1. 7
      Koha/Schema/Result/Item.pm

7
Koha/Schema/Result/Item.pm

@ -621,6 +621,13 @@ __PACKAGE__->might_have(
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
__PACKAGE__->belongs_to(
"biblio",
"Koha::Schema::Result::Biblio",
{ biblionumber => "biblionumber" },
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
);
sub effective_itemtype {
my ( $self ) = @_;

Loading…
Cancel
Save