Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
David Gustafsson 139e6c30d6 Bug 14957: Merge rules system for merging of MARC records
Add a rule based system for merging MARC records to for example
prevent field data from being overwritten.

To test:
    1. Apply this patch.
    2. Log in to staff client.
    3. Enable new syspref MARCMergeRules.
    4. Click the new link "MARC merge rules" in the "Catalog"
       section of the Koha administration page.
    5. Create a new rule:
       Module: source, Filter: *, Tag: 245, Preset: Protect.
    6. Clicking "Edit" should allow you to edit corresponding rule.
    7. Clicking "Delete" should remove corresponding rule after confirmation.
    8. Selecting one or more rules followed by clicking "Delete
       selected" should remove all selected rules after confirmation.
    9. Try creating a rule with tag set to "**", the other options does
       not matter. Verify that saving this rule produces an error
       message complaining about invalid tag regular expression.
    10. Try creating a rule with tag set to "008" (or other control
        field) and set Appended: Append and Removed: Skip, the other
        options does not matter. Verify that saving this rule produces
        an error message complaining about invalid combination of actions
        for control field.
    11. With the 245 rule in step 5 in place, edit a bibliographic record,
        change 245a for example (which should be Title for MARC21) and save.
    12. Verify that the changes has not been saved.
    13. Create a new rule:
        Module: source, Filter: intranet, Tag: 245, Preset: Overwrite.
    14. Repeat step 12, and verify that the changes has now been saved.
    15. Run tests in t/db_dependent/Biblio/MarcMergeRules.t and very
        that all tests pass.

Sponsored-by: Halland County Library
Sponsored-by: Catalyst IT
Sponsored-by: Gothenburg University Library
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Christian Stelzenmüller <christian.stelzenmueller@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-26 16:46:02 +02:00
..
accounting.pref Bug 22824: Fix yes/no vs 1/0 2021-03-04 16:18:42 +01:00
acquisitions.pref Bug 22824: Fix yes/no vs 1/0 2021-03-04 16:18:42 +01:00
admin.pref Bug 29004: Update GoogleOpenIDConnect preference to make it clear that it is OPAC-only 2021-10-05 10:58:14 +02:00
authorities.pref Bug 22824: Fix yes/no vs 1/0 2021-03-04 16:18:42 +01:00
borrowers.json Bug 28936: Add sort1/sort2 to borrowers.json 2021-09-09 10:59:38 +02:00
cataloguing.pref Bug 14957: Merge rules system for merging of MARC records 2021-10-26 16:46:02 +02:00
circulation.pref Bug 25429: Cleanup Database - remove resolved claims returned from db after X days 2021-10-06 14:51:09 +02:00
enhanced_content.pref Bug 29200: Remove Adlibris cover service 2021-10-21 12:24:04 +02:00
i18n_l10n.pref Bug 28598: Update DateFormat and TimeFormat descriptions to remove warnings 2021-06-22 12:06:29 +02:00
items.json Bug 26268: Remove final references to paidfor db field 2020-10-01 10:32:15 +02:00
local_use.pref
logs.pref Bug 28872: make AcquisitionLog, NewsLog, NoticesLog use 1/0 for their values 2021-08-19 10:01:19 +02:00
opac.pref Bug 28831: Database revision, add new preference 2021-10-18 11:28:41 +02:00
patrons.pref Bug 28630: (follow-up) Update wording of syspref 2021-08-04 14:06:43 +02:00
searching.pref Bug 29138: Use zero instead of no in LoadSearchHistoryToTheFirstLoggedUser 2021-10-12 10:52:44 +02:00
serials.pref Bug 22824: Fix yes/no vs 1/0 2021-03-04 16:18:42 +01:00
staff_interface.pref Bug 11175: (follow-up) Relocate and reword ShowComponentRecords syspref description 2021-10-26 16:46:02 +02:00
tools.pref Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
web_services.pref Bug 22824: Replace wrong auto replacement 2021-03-04 16:18:42 +01:00