Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 27653: Use div instead of caption for controls 2021-02-15 11:48:55 +01:00
admin Bug 24108: Advanced editor: configure if biblionumber or control number is used for saved files 2021-02-17 16:28:25 +01:00
authorities Bug 27471: Change auth merge success link text and don't redirect 2021-01-27 10:45:54 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
cataloguing Bug 26943: Add notforloan statuses to catalog search 2021-02-08 17:09:32 +01:00
circ Bug 27706: (bug 24488 follow-up) Fix libraries column filter 2021-02-16 10:22:13 +01:00
clubs Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
common Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
course_reserves Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
errors
ill Bug 25614: Move ILL request keyword filter to sidebar 2021-01-27 10:45:54 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 27404: update labels/label-edit-range.tt for ACC2 2021-02-08 16:12:42 +01:00
mana
members Bug 27605: (follow-up) Make the feature work with Bug 27403 2021-02-09 09:23:55 +01:00
offline_circ Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
patroncards Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
plugins Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
pos Bug 26274: Update register.tt to use the API 2021-02-12 12:33:41 +01:00
reports Bug 27380: Add 'list' option to Koha report parameters 2021-02-12 12:22:08 +01:00
reserve Bug 27407: Update reserve/request.tt for ACC2 2021-01-22 14:59:27 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 27398: Made values in number patterns subscription length translatable 2021-02-08 14:56:00 +01:00
services
suggestion Bug 27608: Corrects 'accepted by' inconsistency in suggestion.tt 2021-02-08 14:56:00 +01:00
tags Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
test
tools Bug 27598: Add UPLOAD as a built-in system authorized value category 2021-02-15 11:59:31 +01:00
virtualshelves Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
about.tt Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
auth.tt Bug 18506: (QA follow-up) Indentation and more conditionals 2021-02-09 09:48:35 +01:00
intranet-main.tt Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00