Bug 35814

Summary: Add information about MARC modification template used in staged MARC batch page
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy, philippe.blouin
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2024-01-15 20:58:07 UTC
When viewing a staged MARC record batch, we see the parameters that were chosen when preparing the file (which matching rule to use, what to do with matching records, etc.). However the information about the MARC modification template used is not there. It would be useful sometimes to know if a template was used and which one.

To recreate:
1. Create a MARC modification template
   1.1. Go to Cataloging > MARC modification templates
   1.2. Click 'New template'
   1.3. Enter a name (e.g. Test)
   1.4. Click 'Submit'
   1.5. Click 'New action'
   1.6. Enter values to create an action, e.g. (for MARC21)
        - Add new
        - field(s) 500 a
        - with value TEST
   1.7. Click 'Add action'

2. Stage a MARC file
   2.1. Go to Cataloging > Stage records for import
   2.2. Choose a MARC file
   2.3. Click 'Upload file'
   2.4. In the Template section, choose the template created in 1.
   2.5. Click 'Stage for import'
   2.6. Click 'View batch'
   --> Note that the use of a template is mentioned nowhere in the page
   2.7. Click the title of the record
   --> The modification should be there

3. Import the file and view the batch
   3.1. Click 'Import this batch into the catalog'
   3.2. Click 'Manage imported batch'
   --> Note that the use of a template is mentioned nowhere in the page