Bugzilla – Attachment 119228 Details for
Bug 27883
Add ability to preserve patron field from being overwritten by import
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27883: (follow-up) Make label match input id
Bug-27883-follow-up-Make-label-match-input-id.patch (text/plain), 1.86 KB, created by
Kyle M Hall (khall)
on 2021-04-06 15:52:31 UTC
(
hide
)
Description:
Bug 27883: (follow-up) Make label match input id
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-04-06 15:52:31 UTC
Size:
1.86 KB
patch
obsolete
>From aca76ef05e0c4fd7e27e287eafe1fc20c5f2178c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 30 Mar 2021 15:04:24 +0000 >Subject: [PATCH] Bug 27883: (follow-up) Make label match input id > >This change alters the list of columns under "Preserve existing values," >changing the label for each checkbox can be clicked to trigger the >checkbox change. > >To test, apply the patch and refresh the patron import page. Expand the >"Preserve existing values" section and click any label in the list. The >corresponding checkbox should be checked. >--- > .../intranet-tmpl/prog/en/modules/tools/import_borrowers.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >index 3622db36b4..83b6f82b59 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >@@ -269,7 +269,7 @@ > <div class="hint">Selected fields will be preserved from original patron record when overwriting existing patron.</div> > [% FOREACH borrower_field IN borrower_fields %] > <li> >- <label class="description" for="[% borrower_field.field | html %]">[% borrower_field.description | html %]: </label> >+ <label class="description" for="preserve_existing_[% borrower_field.field | html %]">[% borrower_field.description | html %]: </label> > <input name="preserve_existing" id="preserve_existing_[% borrower_field.field | html %]" value="[% borrower_field.field | html %]" type="checkbox"> > <span class="field_hint">[% borrower_field.field | html %]</span> > </li> >-- >2.24.3 (Apple Git-128)
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 27883
:
117861
|
119018
|
119227
|
119228
|
119229
|
119230
|
119231
|
119366
|
119367
|
119370
|
119371
|
119436
|
119437
|
121883
|
121884
|
122719
|
122720