Bug 14544: Add missing biblio <=> biblioitems <=> items relationships to the schema
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Adjusted by a follow-up. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
2cd747729a
commit
44cd6841fa
|
|
@ -344,6 +344,7 @@ __PACKAGE__->has_many(
|
|||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-02-24 14:19:57
|
||||
# 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" );
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -619,6 +619,8 @@ __PACKAGE__->might_have(
|
|||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-11-04 12:00:58
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkgJfulDrGaUpQ6jC40vpQ
|
||||
|
||||
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
|
||||
|
||||
sub effective_itemtype {
|
||||
my ( $self ) = @_;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue