Bug 34394: Fix inconsistencies in MARC Bibliographic framework test page title and...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 25 Aug 2023 14:15:10 +0000 (14:15 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Sep 2023 14:52:28 +0000 (11:52 -0300)
commit37427f136255ba1a54f9cd4a883099aa85a1c208
tree7c49672e1adfdd5bbcdbb8e80b6b1ea6dc1f1011
parentf20b460ab6aea64965848b5b4317b19000a53a99
Bug 34394: Fix inconsistencies in MARC Bibliographic framework test page title and breadcrumbs

This patch makes some changes to the MARC bibliographic framework test
page so that breadcrumbs, page title, and page heading are consistent
with each other.

The patch also creates standard message and alert dialogs to show the
status of the check. This is more consistent than having the message
only at the bottom of the table.

The patch also changes the term "itemnum" to "itemnumber."

To test, apply the patch and go to Admnistration -> MARC bibliographic
framework test.

- The page title, breadcrumb navigation, and page heading should match:
  "MARC bibliographic framework test."
- If your system has no errors, there should be a message-style dialog
  at the top of the page saying "Configuration okay."
- Create an error in your MARC configuration:
  - Go to Administration -> MARC frameworks -> MARC structure
  - Locate the 952 tag and click Actions -> View subfields
  - Edit subfield 9 and set the "Managed in tab" dropdown to something
    other than "ignore"
- Return to the framework test page. There should be an alert-style
  dialog at the top of the page, "Configuration errors found"

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt