Docs: updated folder and screenshots for Best Hold Selection Sort Order#2
Open
spmorrison wants to merge 1 commit intomainfrom
Open
Docs: updated folder and screenshots for Best Hold Selection Sort Order#2spmorrison wants to merge 1 commit intomainfrom
spmorrison wants to merge 1 commit intomainfrom
Conversation
spmorrison
pushed a commit
that referenced
this pull request
Aug 9, 2024
Public copy notes are now exported by `marc_export` in the 852 subfield z when the `--items` option is used. To test: 1. Find some copies with copy notes where pub is true. 2. Export the bibs for these copies via `marc_export` with the `--items` option. 3. Check the 852s in the exported file to see that they have no subfiled z. 4. Apply the patch/commit, rebuild and install marc_export. 5. Repeat #2. 6. Check the output for the presence of subfield z in the 852 with the value from the copy notes from the database. You can repeat this test with records that have non-public notes and see that they do not show up in the 852. Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
spmorrison
pushed a commit
that referenced
this pull request
Aug 9, 2024
Public copy tags are now exported by `marc_export` in the 852 subfield z when the `--items` option is used. To test: 1. Find some copies with copy tags where pub is true. 2. Export the bibs for these copies via `marc_export` with the `--items` option. 3. Check the 852s in the exported file to see that they have no subfiled z. 4. Apply the patch/commit, rebuild and install marc_export. 5. Repeat #2. 6. Check the output for the presence of subfield z in the 852 with the value from the copy tags from the database. To distinguish from public copy notes, the public copy tags will have the tag type label and ": " prepended to the value. The following can be run on the command line as a shortcut for steps 2 and 5: { psql <<EOF select acn.record from asset.call_number acn join asset.copy on acn.id = copy.call_number join asset.copy_tag_copy_map map on map.copy = copy.id join asset.copy_tag tag on tag.id = map.tag and tag.pub is true where not copy.deleted and not acn.deleted EOF } | marc_export --items --format xml -e UTF-8 > items.xml Be sure to fill in the appropriate database connection parameters on the psql line. Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.