Bugzilla – Attachment 175582 Details for
Bug 26211
Patron age verification while doing the self-registration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26211: (follow-up) Remove age_low and age_high template variables
Bug-26211-follow-up-Remove-agelow-and-agehigh-temp.patch (text/plain), 1.96 KB, created by
Biblibre Sandboxes
on 2024-12-16 23:53:51 UTC
(
hide
)
Description:
Bug 26211: (follow-up) Remove age_low and age_high template variables
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2024-12-16 23:53:51 UTC
Size:
1.96 KB
patch
obsolete
>From 2e946778cc00ed4536c937d15761a22f5a4d0014 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 10 Dec 2024 23:27:27 +0000 >Subject: [PATCH] Bug 26211: (follow-up) Remove age_low and age_high template > variables > >Signed-off-by: Sam Sowanick <sam.sowanick@corvallisoregon.gov> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- > opac/opac-memberentry.pl | 2 -- > 2 files changed, 1 insertion(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index cdfb6c94ec..6ee5793dcb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -116,7 +116,7 @@ > <li>Emails do not match! <a href="#borrower_repeat_email">confirm email address</a></li> > [% END %] > [% IF field == "ERROR_age_limitations" %] >- <li>Patron's age is incorrect for their category. Ages allowed are [% age_low | html %]-[% age_high | html %].</li> >+ <li>Patron's age is incorrect for their category. Please try again.</li> > [% END %] > [% END %] > </ul> >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index c4d8cce7a3..4869648d14 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -539,8 +539,6 @@ sub CheckForInvalidFields { > my ($low, $high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit); > if (($high && ($age > $high)) or ($age < $low)) { > push @invalidFields, 'ERROR_age_limitations'; >- $template->param( age_low => $low); >- $template->param( age_high => $high); > } > } > >-- >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 26211
:
108283
|
108303
|
175366
| 175582