Bug 14697: (RM follow-up) Add _type methods to ReturnClaim class
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 31 Oct 2019 14:38:10 +0000 (14:38 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 31 Oct 2019 14:38:39 +0000 (14:38 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Schema/Result/ReturnClaim.pm

index d3eb301..f088a80 100644 (file)
@@ -277,6 +277,11 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-31 12:18:39
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a1MJxAPCP8yuYvzkXp5q8w
 
+sub koha_objects_class {
+    'Koha::Checkouts::ReturnClaims';
+}
+sub koha_object_class {
+    'Koha::Checkouts::ReturnClaim';
+}
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;