Bugzilla – Attachment 158058 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: Use patron relationship alias
Bug-35074-Use-patron-relationship-alias.patch (text/plain), 1010 bytes, created by
Marcel de Rooy
on 2023-10-30 08:55:01 UTC
(
hide
)
Description:
Bug 35074: Use patron relationship alias
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-10-30 08:55:01 UTC
Size:
1010 bytes
patch
obsolete
>From 78fd7fea8c501fba1cef5356e4ce58ac8a19eb00 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 27 Oct 2023 14:02:27 +0100 >Subject: [PATCH] Bug 35074: Use patron relationship alias >Content-Type: text/plain; charset=utf-8 > >This patch updates the existing Koha::Account::Line->patron accessor to >use the new aliased 'patron' relation in the schema class > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Account/Line.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Account/Line.pm b/Koha/Account/Line.pm >index 4cd914d9b7..7496f17677 100644 >--- a/Koha/Account/Line.pm >+++ b/Koha/Account/Line.pm >@@ -52,7 +52,7 @@ Return the patron linked to this account line > > sub patron { > my ( $self ) = @_; >- my $rs = $self->_result->borrowernumber; >+ my $rs = $self->_result->patron; > return unless $rs; > return Koha::Patron->_new_from_dbic( $rs ); > } >-- >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