LP#2004587: add option to marc_export to tune 852$b output user/gmcharlt/lp2004587_marc_export_852b
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 5 Apr 2023 20:58:13 +0000 (16:58 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 6 Apr 2023 15:37:57 +0000 (11:37 -0400)
commita57dfa30d25f0fbf31fe35d4d14803481416d439
tree0b8c3fc4d7e16b9922c66ed65bac186874a21e39
parentd1a6702e280a8cef9924b106ad44d587f18356f9
LP#2004587: add option to marc_export to tune 852$b output

The new --852b switch (when used in conjunction with --items)
takes the following values:

 * circ_lib - emit the item circulation library in 852$b
 * owning_lib - emit the owning library in 852$b
 * both - emit owning lib and circ lib as separate repeats
   of $b. This is both the default and legacy behavior.

To test
-------
[1] Set up some items with differing values for the owning
    library and the circulating library.
[2] Run several exports exercising the three --852b options
    and verify that the 852 $b output matches what is specified
    by the switch.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/support-scripts/marc_export.in
docs/RELEASE_NOTES_NEXT/Administration/marc_export_852b.adoc [new file with mode: 0644]