@@ -, +, @@ --- Koha/Schema/Result/Biblioitem.pm | 1 - Koha/Schema/Result/Virtualshelfcontent.pm | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) --- a/Koha/Schema/Result/Biblioitem.pm +++ a/Koha/Schema/Result/Biblioitem.pm @@ -345,6 +345,5 @@ __PACKAGE__->has_many( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A/4lKYlKWWd8TcMVzMRtCg __PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" ); -__PACKAGE__->belongs_to( items => "Koha::Schema::Result::Item", "biblioitemnumber" ); 1; --- a/Koha/Schema/Result/Virtualshelfcontent.pm +++ a/Koha/Schema/Result/Virtualshelfcontent.pm @@ -141,6 +141,8 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ie3Gx+/HthZQ/4fHjcPF0w +#TODO See BZ 14544: Should be resolved by db revision +__PACKAGE__->set_primary_key("shelfnumber","biblionumber"); # You can replace this text with custom content, and it will be preserved on regeneration 1; --