Bugzilla – Attachment 82510 Details for
Bug 21649
Add child button in the staff client is no longer automatically populating the parent address
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21649: Pass guarantee info to template when adding child
Bug-21649-Pass-guarantee-info-to-template-when-add.patch (text/plain), 1.07 KB, created by
Nick Clemens (kidclamp)
on 2018-11-19 14:48:50 UTC
(
hide
)
Description:
Bug 21649: Pass guarantee info to template when adding child
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-11-19 14:48:50 UTC
Size:
1.07 KB
patch
obsolete
>From c04b4865205c64d0b40a2cc666581462a8b5e35a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 19 Nov 2018 14:47:04 +0000 >Subject: [PATCH] Bug 21649: Pass guarantee info to template when adding child > >To test: >1 - Find an adult patron >2 - Click 'Add child' >3 - Note address/phone info does not carry over >4 - Apply patch >5 - Repeat >6 - Note information populates >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 14a1136..731d4f9 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -775,7 +775,7 @@ $template->param( > $guarantorid = $borrower_data->{'guarantorid'} || $guarantorid; > my $guarantor = $guarantorid ? Koha::Patrons->find( $guarantorid ) : undef; > $template->param( >- patron => $patron, # Used by address include templates now >+ patron => $patron ? $patron : \%newdata, # Used by address include templates now > nodouble => $nodouble, > borrowernumber => $borrowernumber, #register number > guarantor => $guarantor, >-- >2.1.4
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 21649
:
82510
|
82570
|
82571
|
82572
|
82597
|
83020