Bug 14570: (RM follow-up) Add class relatinship to BorrowerRelationship
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 21 Aug 2019 07:23:52 +0000 (08:23 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 21 Aug 2019 07:24:27 +0000 (08:24 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Schema/Result/BorrowerRelationship.pm

index 376e3a3..04a5c10 100644 (file)
@@ -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;