Bugzilla – Attachment 186050 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.55 KB, created by
Magnus Enger
on 2025-09-02 14:09:05 UTC
(
hide
)
Description:
Bug 20859: Followup to fix logic in template
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2025-09-02 14:09:05 UTC
Size:
1.55 KB
patch
obsolete
>From bf1e0cd672eafcb1f696629c3f130c10ca0a09d2 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) >--- > 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 118edf3143..ae71d94935 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -1169,7 +1169,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.43.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 20859
:
151688
|
152327
|
152386
|
186049
| 186050