@@ -, +, @@ --- Koha/Schema/Result/Branch.pm | 15 +++++++++++++++ Koha/Schema/Result/Category.pm | 15 +++++++++++++++ Koha/Schema/Result/Itemtype.pm | 15 +++++++++++++++ 3 files changed, 45 insertions(+) --- a/Koha/Schema/Result/Branch.pm +++ a/Koha/Schema/Result/Branch.pm @@ -526,6 +526,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 configurations + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "configurations", + "Koha::Schema::Result::Configuration", + { "foreign.library_id" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 course_items Type: has_many --- a/Koha/Schema/Result/Category.pm +++ a/Koha/Schema/Result/Category.pm @@ -328,6 +328,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 configurations + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "configurations", + "Koha::Schema::Result::Configuration", + { "foreign.category_id" => "self.categorycode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 pseudonymized_transactions Type: has_many --- a/Koha/Schema/Result/Itemtype.pm +++ a/Koha/Schema/Result/Itemtype.pm @@ -257,6 +257,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 configurations + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "configurations", + "Koha::Schema::Result::Configuration", + { "foreign.item_type" => "self.itemtype" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 itemtypes_branches Type: has_many --