Bugzilla – Attachment 158057 Details for
Bug 35074
Add --patron_category to writeoff_debts.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35074: Add patron relationship alias
Bug-35074-Add-patron-relationship-alias.patch (text/plain), 1.35 KB, created by
Marcel de Rooy
on 2023-10-30 08:54:59 UTC
(
hide
)
Description:
Bug 35074: Add patron relationship alias
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-10-30 08:54:59 UTC
Size:
1.35 KB
patch
obsolete
>From 9d1aa61d35b067c787d9f5e688c691b92214d5a6 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 27 Oct 2023 14:01:35 +0100 >Subject: [PATCH] Bug 35074: Add patron relationship alias >Content-Type: text/plain; charset=utf-8 > >This patch adds the 'patron' relationship alias to the Acountline >DBIx::Class schema. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Schema/Result/Accountline.pm | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > >diff --git a/Koha/Schema/Result/Accountline.pm b/Koha/Schema/Result/Accountline.pm >index 5ee3aaff3a..d1ba673cf2 100644 >--- a/Koha/Schema/Result/Accountline.pm >+++ b/Koha/Schema/Result/Accountline.pm >@@ -399,6 +399,26 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-28 20:21:02 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PjQR7oUkefiDt+eV69jZ3A > >+=head2 patron >+ >+Type: belongs_to >+ >+Related object: L<Koha::Schema::Result::Borrower> >+ >+=cut >+ >+__PACKAGE__->belongs_to( >+ "patron", >+ "Koha::Schema::Result::Borrower", >+ { borrowernumber => "borrowernumber" }, >+ { >+ is_deferrable => 1, >+ join_type => "LEFT", >+ on_delete => "SET NULL", >+ on_update => "CASCADE", >+ }, >+); >+ > =head2 library > > Type: belongs_to >-- >2.30.2
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 35074
:
157227
|
157228
|
157860
|
157861
|
157981
|
157982
|
157983
| 158057 |
158058
|
158059