Bug 26993: Schema changes
Signed-off-by: Trevor Diamond <trevor.diamond@mainlib.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
0fc32b7de8
commit
19ef8940f9
|
|
@ -833,7 +833,7 @@ Related object: L<Koha::Schema::Result::ItemsLastBorrower>
|
|||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->might_have(
|
||||
__PACKAGE__->has_many(
|
||||
"items_last_borrower",
|
||||
"Koha::Schema::Result::ItemsLastBorrower",
|
||||
{ "foreign.itemnumber" => "self.itemnumber" },
|
||||
|
|
@ -1068,7 +1068,7 @@ __PACKAGE__->has_many(
|
|||
# Relationship with bundled items
|
||||
__PACKAGE__->many_to_many( bundle_items => 'item_bundles_hosts', 'item' );
|
||||
|
||||
__PACKAGE__->might_have(
|
||||
__PACKAGE__->has_many(
|
||||
"last_returned_by",
|
||||
"Koha::Schema::Result::ItemsLastBorrower",
|
||||
{ "foreign.itemnumber" => "self.itemnumber" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue