From 17d655249ad0106d0289680cb19fa26f196a7050 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 May 2023 13:02:51 +0000 Subject: [PATCH] Bug 33855: Clean up forms and page sections on 'manage MARC imports' page This patch makes minor changes to the structure of the "Manage MARC imports" page so that sections are more clearly delineated and forms have the correct structure. The patch also shortens the new framework field labels and adds hints for clarification. To test, apply the patch and go to Cataloging -> Stage MARC records for import. - Import a batch of MARC records. - Go to Cataloging -> Manage staged records. - View the batch you just imported. - You should see three sections: - A list of information about the batch - Options for changing the matching rules - Options for setting frameworks during import. - Test that the form for applying different matching rules still works correctly. - Import a batch of records which contains matches (by, for example, exporting MARC records from Koha and then reimporting the same batch) - On the manage page for that batch try changing the matching rule applied, switching between "Do not look for matching records" and a matching rule which will catch the duplicate records. - Test that your records are imported correctly according to the framework settings you select, both for new records and for replaced records. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- .../en/modules/tools/manage-marc-import.tt | 53 +++++++++++-------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 47bb5ee81e..6b9e93082d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -159,6 +159,10 @@ [% import_status | html %] [% END %] + + +
+
  1. [% IF ( can_commit ) %] @@ -253,29 +257,34 @@
    + [% IF ( record_type != 'auth' ) %] +
    +
      +
    1. + + +
      New bibliographic records will use this framework
      +
    2. +
    3. + + +
      Replacement records will use this framework
      +
    4. +
    +
    + [% END %]
    - [% IF ( record_type != 'auth' ) %] -
    - Add new bibliographic records into this framework: - -
    -
    - When replacing records use this framework: - -
    - [% END %] -
    -- 2.39.5