Bugzilla – Attachment 193477 Details for
Bug 39658
Allow definition of non-hierarchical linked patron accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39658: Schema: Add Koha object class mappings
Bug-39658-Schema-Add-Koha-object-class-mappings.patch (text/plain), 1.11 KB, created by
Jacob O'Mara
on 2026-02-19 14:34:53 UTC
(
hide
)
Description:
Bug 39658: Schema: Add Koha object class mappings
Filename:
MIME Type:
Creator:
Jacob O'Mara
Created:
2026-02-19 14:34:53 UTC
Size:
1.11 KB
patch
obsolete
>From 8853647f1ab98c26e36705a9f0db84982f251353 Mon Sep 17 00:00:00 2001 >From: Jacob O'Mara <Jacob.omara@openfifth.co.uk> >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). >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39658
:
193344
|
193345
|
193346
|
193347
|
193348
|
193349
|
193350
|
193351
|
193352
|
193353
|
193354
|
193355
|
193356
|
193357
|
193358
|
193359
|
193462
|
193463
|
193464
|
193465
|
193466
|
193467
|
193468
|
193469
|
193470
|
193471
|
193472
|
193473
|
193474
|
193475
|
193476
|
193477
|
193478
|
193479
|
193781
|
193782
|
193783
|
193784
|
193785
|
193786
|
193787
|
193788
|
193789
|
193790
|
193791
|
193792
|
193793
|
193794
|
193795
|
193796
|
193797
|
193798
|
193800
|
193801
|
193802
|
193803
|
193804
|
193805
|
193806
|
193807
|
193808
|
193809
|
193810
|
193811
|
193812
|
193813
|
193814
|
193815
|
193816
|
193817