Bug 32685: Correct authority match display on import
authorNick Clemens <nick@bywatersolutions.com>
Thu, 19 Jan 2023 20:47:31 +0000 (20:47 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 14:34:23 +0000 (11:34 -0300)
commit9d7cca8b4dcdda09e5134bcd57731346285c9fc2
treeaff51b44d2cb33da84fbf446f4a5f3088353ea31
parentd599694ef5d9d7a8798d16815d839c9c286d6476
Bug 32685: Correct authority match display on import

Bug 22785 updated the import records table, but mixed javascript variables and template toolkit, this means all matches are treated as biblios

To test:
1 - Export some authority records form Koha
2 - Create a matching rule based on 'Local-number' and field 001
3 - Stage the records for import using above rule
4 - Note the match links point to authorities, but the citations point to biblios
5 - Apply patch
6 - Reload the page
7 - Confirm the links have the correct text

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt