From b7a642449578d238203bf15e8b92f99755596d48 Mon Sep 17 00:00:00 2001
From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Date: Fri, 21 Oct 2022 14:31:07 -0400
Subject: [PATCH] Bug 31923: 'Ignore' tab description is misleading

This patch modifies the description of the 'Ignore' tab in
MARC bibliographic and authority framework administration
to add that not only does the 'ignored' subfield not appear
in the editor, but the subfield will also be deleted from the
record.

To test:
1. Go to Administration > MARC bibliographic framework
2. Click 'Actions' next to any framework and choose 'MARC structure'
3. Click 'Actions' next to any field and choose 'Edit subfields'
4. Check the hint/description under 'Managed in tab' and make sure it
   - makes sense
   - is written in correct english (syntax and spelling)
   - mentions that the subfield's value will be deleted from the record
5. Go to Administration > Authority types
6. Redo steps 2-4 for authority frameworks
---
 .../prog/en/modules/admin/auth_subfields_structure.tt           | 2 +-
 .../prog/en/modules/admin/marc_subfields_structure.tt           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt
index 51a8363afa..5fad7d658b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt
@@ -164,7 +164,7 @@
                                     [%- END -%]
                                 [%- END -%]
                                 </select>
-                                <div class="hint">Ignore means that the subfield does not display in the record editor</div>
+                                <div class="hint">Ignore means that the subfield does not display in the record editor and that it's value, if any, is deleted from the record</div>
                             </li>
                             <li>
                                 <fieldset>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt
index 402a770aa6..10bb4f2d2c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt
@@ -226,7 +226,7 @@
                                                                 <option value="10">items (10)</option>
                                                             [%- END -%]
                                                             </select>
-                                                            <div class="hint">Ignore means that the subfield does not display in the record editor</div>
+                                                            <div class="hint">Ignore means that the subfield does not display in the record editor and that it's value, if any, is deleted from the record</div>
                                                         </li>
                                                     </ol>
                                                 </fieldset> <!-- /.rows -->
-- 
2.34.1