Bugzilla – Attachment 194210 Details for
Bug 20859
Enter SMS number and SMS provider during self registration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20859: Followup to fix logic in template
Bug-20859-Followup-to-fix-logic-in-template.patch (text/plain), 1.60 KB, created by
David Nind
on 2026-03-01 00:17:36 UTC
(
hide
)
Description:
Bug 20859: Followup to fix logic in template
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-03-01 00:17:36 UTC
Size:
1.60 KB
patch
obsolete
>From 039209cd8f4aefa6770913ababa7165a2a574c2a Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Tue, 2 Sep 2025 14:58:59 +0200 >Subject: [PATCH] Bug 20859: Followup to fix logic in template > >See Bugzilla for discussion around this. This patch updates the >logic so that the following requirements must be met for the >"SMS number" section of the patron self registration form to be shown: > >- SMSSendDriver must have a value >- At least one of smsalertnumber and sms_provider_id must be visible > (not hidden) > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 44074b6dc5..57b846877e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -1191,7 +1191,7 @@ > <!-- /.row --> > [% END %] > >- [% IF ( Koha.Preference('SMSSendDriver') ) && !hidden.defined('smsalertnumber') && !hidden.defined('sms_provider_id') && action != 'edit' %] >+ [% IF ( Koha.Preference('SMSSendDriver') ) && ( !hidden.defined('smsalertnumber') || !hidden.defined('sms_provider_id') ) && action != 'edit' %] > <div class="row"> > <div class="col"> > <fieldset class="rows" id="memberentry_sms"> >-- >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 20859
:
151688
|
152327
|
152386
|
186049
|
186050
|
194209
| 194210