Lines 833-839
Related object: L<Koha::Schema::Result::ItemsLastBorrower>
Link Here
|
833 |
|
833 |
|
834 |
=cut |
834 |
=cut |
835 |
|
835 |
|
836 |
__PACKAGE__->might_have( |
836 |
__PACKAGE__->has_many( |
837 |
"items_last_borrower", |
837 |
"items_last_borrower", |
838 |
"Koha::Schema::Result::ItemsLastBorrower", |
838 |
"Koha::Schema::Result::ItemsLastBorrower", |
839 |
{ "foreign.itemnumber" => "self.itemnumber" }, |
839 |
{ "foreign.itemnumber" => "self.itemnumber" }, |
Lines 1068-1074
__PACKAGE__->has_many(
Link Here
|
1068 |
# Relationship with bundled items |
1068 |
# Relationship with bundled items |
1069 |
__PACKAGE__->many_to_many( bundle_items => 'item_bundles_hosts', 'item' ); |
1069 |
__PACKAGE__->many_to_many( bundle_items => 'item_bundles_hosts', 'item' ); |
1070 |
|
1070 |
|
1071 |
__PACKAGE__->might_have( |
1071 |
__PACKAGE__->has_many( |
1072 |
"last_returned_by", |
1072 |
"last_returned_by", |
1073 |
"Koha::Schema::Result::ItemsLastBorrower", |
1073 |
"Koha::Schema::Result::ItemsLastBorrower", |
1074 |
{ "foreign.itemnumber" => "self.itemnumber" }, |
1074 |
{ "foreign.itemnumber" => "self.itemnumber" }, |
1075 |
- |
|
|