]> git.koha-community.org Git - koha.git/commit
Bug 26007: Add/fix warning for changes to the Koha to MARC mappings
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 30 Aug 2020 20:31:32 +0000 (22:31 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 14 Sep 2020 22:26:54 +0000 (22:26 +0000)
commitf5aa165c6e3fb2dce71c3943149b0a2fef611ca5
tree347a96902c2cd3bd72bcf04cdbd543f97a97a23b
parent6347ad75c8f48f450ce82042f664bbb2d2bcd03c
Bug 26007: Add/fix warning for changes to the Koha to MARC mappings

There are 2 pages where one can change the Koha to MARC mappings in Koha:

- When editing the configuration for a MARC subfield
- On administration > Koha 2 MARC mappings

This patch adds a warning that the batchRebuildBiblioTables script
must be run if the mapping is changed.

To test:
- Go to Administration > MARC bibliographic frameworks >
  Any framework > MARC structure > Any field > Edit subfield
- ÃThe hint about the batchRebuildBiblioTables will be on "Link"
  instead of "Koha Link". This is wrong as the link doesn't care
  about the mappings.
- Go to Administration > Koha to MARC mappings
- Verify there is no hint
- Apply patch
- Verify both pages now show an appropriate message

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
This commit message is not completely accurate. See the follow-ups.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 54941f8dc558911e4222f7325609839b7c6bae81)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt