Bug 34512 - "Changed" flag and Reset link missing when changing matching rules in manage marc import page
Summary: "Changed" flag and Reset link missing when changing matching rules in manage ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-09 21:01 UTC by Caroline Cyr La Rose
Modified: 2023-08-09 21:01 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Sample MARC21 file (745 bytes, text/plain)
2023-08-09 21:01 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2023-08-09 21:01:17 UTC
Created attachment 154342 [details]
Sample MARC21 file

When importing MARC records, it's possible to change the matching rule after the records are staged. Before, if we changed the option, there was a "Changed" flag with a "Reset" link next to the changed option. It seems the flag is still in the .tt file, but it doesn't show on the screen in the staff interface.

To recreate:
1. Stage a MARC file (I attached one in case you don't have any handy)
   1.1. Go to Cataloging > Stage records for import
   1.2. Choose a marc file and click Upload file
   1.3. Click Stage for import
2. View the staged file
   2.1. Click "View lot" or go to Cataloging > Managed staged records and click on the file name
3. Change matching options
--> No Changed flag or Reset option

I checked in 22.05 and Emily checked in 22.11 and the flag is there.
In 23.05 and master, the flag doesn't show.

In the koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt file, around line 83

<span class="change-status">Changed. <a href="#" class="reset" id="reset_new_matcher_id">Reset</a></span>