From 12f583dd2c580cad046605531c79c1a90bf91436 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 21 Aug 2019 08:23:52 +0100 Subject: [PATCH] Bug 14570: (RM follow-up) Add class relatinship to BorrowerRelationship Signed-off-by: Martin Renvoize --- Koha/Schema/Result/BorrowerRelationship.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/BorrowerRelationship.pm b/Koha/Schema/Result/BorrowerRelationship.pm index 376e3a314d..04a5c10cd6 100644 --- a/Koha/Schema/Result/BorrowerRelationship.pm +++ b/Koha/Schema/Result/BorrowerRelationship.pm @@ -129,6 +129,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-20 15:14:37 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZymvWAn9Nzfuh1lExUIhIg +sub koha_objects_class { + 'Koha::Patron::Relationships'; +} +sub koha_object_class { + 'Koha::Patron::Relationship'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.20.1