Bugzilla – Attachment 92897 Details for
Bug 20691
Add ability for guarantors to view guarantee's fines in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20691: (QA follow-up) Fix self-reg
Bug-20691-QA-follow-up-Fix-self-reg.patch (text/plain), 1.21 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-09-17 13:45:30 UTC
(
hide
)
Description:
Bug 20691: (QA follow-up) Fix self-reg
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-09-17 13:45:30 UTC
Size:
1.21 KB
patch
obsolete
>From 9155b0a7cd187aa4f2e809fb4d98234567aba175 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 17 Sep 2019 10:45:05 -0300 >Subject: [PATCH] Bug 20691: (QA follow-up) Fix self-reg > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > opac/opac-memberentry.pl | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index a9986461bf..62cdd0d205 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -333,12 +333,14 @@ elsif ( $action eq 'edit' ) { #Display logged in borrower's data > > my $captcha = random_string("CCCCC"); > my $patron_param = scalar Koha::Patrons->find( $borrowernumber ); >+$template->param( >+ has_guarantor_flag => $patron_param->guarantor_relationships->guarantors->_resultset->count >+) if $patron_param; > > $template->param( > captcha => $captcha, > captcha_digest => md5_base64($captcha), >- patron => $patron_param, >- has_guarantor_flag => $patron_param->guarantor_relationships->guarantors->_resultset->count >+ patron => $patron_param > ); > > output_html_with_http_headers $cgi, $cookie, $template->output, undef, { force_no_caching => 1 }; >-- >2.23.0
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 20691
:
74968
|
74969
|
74970
|
74971
|
74972
|
74973
|
74974
|
74975
|
89951
|
89952
|
89953
|
89990
|
89991
|
89992
|
89993
|
90093
|
90094
|
90095
|
90096
|
91025
|
91026
|
91159
|
91160
|
91161
|
91162
|
92385
|
92386
|
92387
|
92388
|
92485
|
92700
|
92701
|
92702
|
92703
|
92704
|
92705
| 92897