[Koha-bugs] [Bug 24108] Advanced Editor: Save .mrc save with a configurable value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 19 16:29:54 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24108

Cori Lynn Arnold <carnold at dgiinc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101026|0                           |1
        is obsolete|                            |

--- Comment #7 from Cori Lynn Arnold <carnold at dgiinc.com> ---
Created attachment 101032
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101032&action=edit
Bug 24108: Advanced Editor: Save .mrc save with a configurable value

Creates a new systempref "SaveRecordbyControlNumber" which is initially
set to 0 (off/no). By default saving .mrc (and .xml) will be saved by the
biblionumber.

To test:

    Apply the patches.
    1. Open a record in the advanced editor
    2. Save the record using the drop down box selecting "Save as MARC
    (.mrc) file.
    3. Note that the file saved is the same as the biblionumber at the top
    of the Advanced Editor interface.
    <Repeat steps 1-3 for the .xml save option>

    4. Update the database:
    update systempreferences set value = '1' where variable =
    'SaveRecordbyControlNumber';

    5. Restart Koha

    6. Verify that there is not a 001 field in the record (delete it if
            there is)

    Repeat steps 1, 2, & 3 for both .mrc and .xml options (the file should
still be saved as the
            biblionumber if there is no control field)

    7. Add a 001 field to the record such as "001  abc00012345"

    Repeat steps 1, 2 for both .mrc and .xml Verify that the files saved
    are named abc00012345.mrc and abc00012345.xml

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list