Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Cori Lynn Arnold 227077c43d Bug 24108: Advanced editor: configure if biblionumber or control number is used for saved files
Creates a new system preference "SaveRecordbyControlNumber" (renamed in
follow-up patch with "DefaultSaveRecordFileID") which is
initially set to 0 (off/no). By default saving .mrc (and .xml) will be
saved by the biblionumber. If the record does not yet have a biblionumber,
the record will be saved as record.mrc or record.xml

Test plan:
1)  Apply the patch, flush_memcached and restart_all
2)  Enable the "EnableAdvancedCatalogingEditor" system preference
4)  Save the record using the drop down box selecting "Save as MARC (.mrc)
    file.
5)  Note that the file saved is the same as the biblionumber at the top of
    the Advanced Editor interface.
6)  Repeat steps 3-5 for the .xml save option
7)  Update the new system preference "SaveRecordbyControlNumber" and
    change to "Save by ControlNumber"
8)  Verify that there is not a 001 field in the record (delete it if
     there is)
9)  Repeat steps 3-5 for both .mrc and .xml options (the file should still
    be saved as the biblionumber if there is no control field)
10) Add a 001 field to the record such as "001  abc00012345"
11) Repeat step 4 for both .mrc and .xml and verify that the files
    saved are named abc00012345.mrc and abc00012345.xml
12) Sign off!

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

JD amended patch:
* Remove change to obsolete sysprefs.sql
* Fix author's patch
* Update commit message to tell the syspref has been renamed

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-17 16:28:25 +01:00
..
preferences Bug 24108: Advanced editor: configure if biblionumber or control number is used for saved files 2021-02-17 16:28:25 +01:00
searchengine/elasticsearch Bug 26958: Move Elasticsearch mapping template JS to the footer 2021-02-12 12:30:58 +01:00
additional-fields.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
admin-home.tt Bug 26809: Removes full stops from admin-home.tt 2020-10-26 00:16:14 +01:00
adveditorshortcuts.tt
aqbudgetperiods.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
aqbudgets.tt Bug 27653: Use div instead of caption for controls 2021-02-15 11:48:55 +01:00
aqcontract.tt Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
aqplan.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
audio_alerts.tt Bug 26225: Move translatable strings out of audio_alerts.tt and into audio_alerts.js 2020-09-29 14:28:18 +02:00
auth_subfields_structure.tt Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
auth_tag_structure.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
authorised_values.tt Bug 27598: (QA follow-up) Add category description and installer data 2021-02-15 11:59:31 +01:00
authtypes.tt Bug 25954: Replace paragraph tags with labels in header search forms 2021-01-04 14:06:27 +01:00
background_jobs.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
biblio_framework.tt Bug 26551: Correct modal markup to prevent long heading from overflowing 2020-10-08 11:36:32 +02:00
branch_transfer_limits.tt Bug 26768: Remove the use of jquery.checkboxes plugin from library transfer limits page 2020-11-03 10:57:35 +01:00
branches.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
cash_registers.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
categories.tt Bug 26985: Remove code for "Upcoming events" from codebase as not implemented 2021-01-20 13:42:08 +01:00
checkmarc.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
cities.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
classsources.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
clone-rules.tt
columns_settings.tt Bug 27654: Sort module.keys hash when render columns_settings.tt 2021-02-12 12:14:50 +01:00
credit_types.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
currency.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
debit_types.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
desks.tt
didyoumean.tt
edi_accounts.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
edi_ean_accounts.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
itemtypes.tt Bug 20238: Display description of ITEMTYPECAT in search category 2021-01-28 17:32:52 +01:00
koha2marclinks.tt Bug 26007: Add/fix warning for changes to the Koha to MARC mappings 2020-09-09 15:39:51 +02:00
library_groups.tt
localization.tt
marc_subfields_structure.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
marctagstructure.tt Bug 27416: Make "Modify tag" and "Add tag" translatable 2021-01-13 17:17:00 +01:00
matching-rules.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt Bug 8326: Add tooltips 2021-02-15 11:48:55 +01:00
preferences.tt Bug 17364: Add ability to exclude some columns from selection for system preferences 2021-02-01 16:36:36 +01:00
share_content.tt
smart-rules.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
sms_providers.tt Bug 26240: Move translatable strings out of sms_providers.tt and into sms_providers.js 2020-09-29 14:28:18 +02:00
smtp_servers.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
transport-cost-matrix.tt Bug 26726: (QA follow-up) Add line break and 'the' for readability 2020-10-26 00:16:14 +01:00
usage_statistics.tt
z3950servers.tt Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00