Bugzilla – Attachment 119018 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.85 KB, created by
Owen Leonard
on 2021-03-30 15:09:57 UTC
(
hide
)
Description:
Bug 27883: (follow-up) Make label match input id
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-03-30 15:09:57 UTC
Size:
1.85 KB
patch
obsolete
>From c4b9e888c9549d690228eacfe6b1ac6130943056 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. >--- > koha-tmpl/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 ffa0793273..c0d5e95f09 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 >@@ -244,7 +244,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.11.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 27883
:
117861
|
119018
|
119227
|
119228
|
119229
|
119230
|
119231
|
119366
|
119367
|
119370
|
119371
|
119436
|
119437
|
121883
|
121884
|
122719
|
122720