]> git.evergreen-ils.org Git - Evergreen.git/commit
LP 1672519: Make marc_export descendants aware.
authorJason Stephenson <jason@sigio.com>
Sat, 22 Apr 2017 12:17:53 +0000 (08:17 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 19 May 2017 13:55:44 +0000 (09:55 -0400)
commit1c83704e0ed0ddca391f8324689751f5adc0c80b
tree37b467035bd520d0ae7fcf6dd8531cd473a8c789
parent75e65606a3151c6229b1197ab31d2cf0bd922b7c
LP 1672519: Make marc_export descendants aware.

Add a --descendants option to marc_export to get records for an
org. unit and its descendants.

To test
-------
[1] Run marc_export with -i --library FOO. Verify that the resulting
    records have 852 fields only from FOO.
[2] Run marc_export with -i --descendants FOO. Verify that the resulting
    records have 852 fields from FOO *and* all descendants of FOO.
[3] Run marc_export using various combinations of --library and --descendants;
    verify that items from the expected libraries show up as 852 fields.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/support-scripts/marc_export.in
docs/RELEASE_NOTES_NEXT/Administration/marc_export-descendants-option.adoc [new file with mode: 0644]