From f205ac92f2aad6cfed2b9dd4a98c19803fdf0732 Mon Sep 17 00:00:00 2001 From: Jacob O'Mara Date: Wed, 21 Jan 2026 15:36:17 +0000 Subject: [PATCH] Bug 39658: Schema: Add Koha object class mappings Map PatronAccountLink to Koha::Patron::AccountLink(s). Signed-off-by: Trevor Diamond --- Koha/Schema/Result/PatronAccountLink.pm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/PatronAccountLink.pm b/Koha/Schema/Result/PatronAccountLink.pm index 13aa0d149ed..1c6b40034af 100644 --- a/Koha/Schema/Result/PatronAccountLink.pm +++ b/Koha/Schema/Result/PatronAccountLink.pm @@ -120,6 +120,20 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-01-19 13:41:13 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iWUPjrtWP7qqlIJZJ7kOuA +=head2 koha_object_class + +=cut + +sub koha_object_class { + 'Koha::Patron::AccountLink'; +} + +=head2 koha_objects_class + +=cut + +sub koha_objects_class { + 'Koha::Patron::AccountLinks'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.5