Summary: | Add authorized value lists for MARC21 RDA Carrier, Content, and Media Vocabularies | ||
---|---|---|---|
Product: | Koha | Reporter: | Eric Phetteplace <ephetteplace> |
Component: | Cataloging | Assignee: | Eric Phetteplace <ephetteplace> |
Status: | Signed Off --- | QA Contact: | Andrew Fuerste-Henry <andrew> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | ahennig, andrew, david, flyingendpaper, jonathan.druart, m.de.rooy, mathsabypro, mnero, mspinney, nick, santoshpavan.666 |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32488 | ||
GIT URL: | Change sponsored?: | Sponsored | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This enhancement adds authorized value lists for use in MARC21 tags 336 - Content Type, 337 - Media Type, and 338 - Carrier Type, subfields $a and $b. Note: Manual updates are required to your frameworks to link the subfields to the authorized value lists.
The six new authorized value lists:
- RDACARRIER
- RDACARRIER_CODE
- RDACONTENT
- RDACONTENT_CODE
- RDAMEDIA
- RDAMEDIA_CODE
|
|
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 39418: RDA Carrier, Content, & Media Vocabularies
Bug 39418: RDA Carrier, Content, & Media Vocabularies Bug 39418: RDA Carrier, Content, & Media Vocabularies db Bug 39418: RDA Carrier, Content, & Media Vocabularies db Bug 39418: RDA Carrier, Content, & Media Vocabularies Bug 39418: RDA Carrier, Content, & Media Vocabularies db Bug 39418: RDA Carrier, Content, & Media Vocabularies Bug 39418: RDA Carrier, Content, & Media Vocabularies db Bug 39418: RDA Carrier, Content, & Media Vocabularies Bug 39418: RDA Carrier, Content, & Media Vocabularies db Bug 39418: RDA Carrier, Content, and Media Vocabularies Bug 39418: RDA Carrier, Content, and Media Vocabularies database update |
Description
Eric Phetteplace
2025-03-21 19:12:41 UTC
Created attachment 179630 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies Test plan: ---------- 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Sponsosred-by: California College of the Arts Oh I meant to add links to the vocabularies from the Library of Congress (but these are also in the AV category descriptions I added): https://www.loc.gov/standards/valuelist/rdacarrier.html https://www.loc.gov/standards/valuelist/rdacontent.html https://www.loc.gov/standards/valuelist/rdamedia.html Hello Duplicate of https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32488 ? Not a duplicate of https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32488 , but dealing with the same fields. I wanted to add Elasticsearch and Zebra indexes for them. Maybe I was wrong. Do these fields already have indexes? If you are using Elasticsearch, you can see exactly which fields are indexed and how by going to Admin > "Search engine configuration (Elasticsearch)" (your.domain/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl). Look at the Bibliographic Records tab in the Mapping column for the MARC references. You are correct, it looks as if these fields are not indexed (or at least, they're not for us). There is a title-medium index for 245$h which might be repurposable for the RDA fields. There's also material-type for 007. (In reply to Mathieu Saby from comment #4) > Not a duplicate of > https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32488 , but > dealing with the same fields. I wanted to add Elasticsearch and Zebra > indexes for them. Maybe I was wrong. Do these fields already have indexes? Created attachment 179832 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies Test plan: ---------- 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Sponsosred-by: California College of the Arts Signed-off-by: David Nind <david@davidnind.com> Hi Eric, This looks good but we should also handle the case for existing installs and add an atomic update to add the values. https://wiki.koha-community.org/wiki/Database_updates Let me know if you need any help. -Nick Created attachment 183079 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies db This contains a database update script so that existing Koha instances also receive authorised values for the RDA vocabularies from bug 39418 Sponsored-by: California College of the Arts Just checking if this is ready to go back into either the needs signoff or needs QA queues? The status is still "Failed QA". I'd missed that the status was Failed QA and I'm not sure myself. If we want to do QA again, I can elaborate the testing steps needed for existing Koha instances (basically the same, check that the vocabs are created after updating the db). This is back to Needs Signoff. Here are testing steps for both new and existing Koha instances. Test plan: ---------- For a new instance: 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Existing instance: 1. Create a Koha instance without the patches 2. Apply the patches but do not recreate Koha 3. Run updatedatabase (on ktd) or perl installer/data/mysql/updatedatabase.pl 4. Messages print to the effect that the vocabs were added 5. Navigate to admin > authorized values 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Created attachment 186100 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies db This contains a database update script so that existing Koha instances also receive authorised values for the RDA vocabularies from bug 39418 Sponsored-by: California College of the Arts Signed-off-by: Miranda Nero <mnero@oslri.net> Created attachment 186101 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies Test plan: ---------- 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Sponsosred-by: California College of the Arts Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Created attachment 186102 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies db This contains a database update script so that existing Koha instances also receive authorised values for the RDA vocabularies from bug 39418 Sponsored-by: California College of the Arts Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Miranda Nero <mnero@oslri.net> Created attachment 186103 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies Test plan: ---------- 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Sponsosred-by: California College of the Arts Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Created attachment 186104 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies db This contains a database update script so that existing Koha instances also receive authorised values for the RDA vocabularies from bug 39418 Sponsored-by: California College of the Arts Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: oops, clicked poorly. I meant to Pass QA :) Created attachment 186107 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies Test plan: ---------- 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Sponsosred-by: California College of the Arts Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Signed-off-by: David Nind <david@davidnind.com> Created attachment 186108 [details] [review] Bug 39418: RDA Carrier, Content, & Media Vocabularies db This contains a database update script so that existing Koha instances also receive authorised values for the RDA vocabularies from bug 39418 Sponsored-by: California College of the Arts Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Signed-off-by: David Nind <david@davidnind.com> Created attachment 186109 [details] [review] Bug 39418: RDA Carrier, Content, and Media Vocabularies This adds authorized value lists for use in MARC21 tags 336 - Content Type, 337 - Media Type, and 338 - Carrier Type, subfields $a and $b. Test plan: 1. Create a fresh Koha instance 2. Navigate to admin > authorized values 3. Note there are no RDA value categories 4. Apply the patch and recreate a new Koha 5. Repeat step 2 6. There are six RDA value categories: RDACARRIER, RDACARRIER_CODE, RDACONTENT, RDACONTENT_CODE, RDAMEDIA, and RDAMEDIA_CODE Sponsored-by: California College of the Arts Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: David Nind <david@davidnind.com> Created attachment 186110 [details] [review] Bug 39418: RDA Carrier, Content, and Media Vocabularies database update This contains a database update script so that existing Koha instances also receive authorised values for the RDA vocabularies. Sponsored-by: California College of the Arts Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: David Nind <david@davidnind.com> Tidied up the commit messages, including removing duplicated sign off lines. I think Andrew needs to add his sign-off and passed QA status again - I must have been signing off at the same time. Comment on attachment 186109 [details] [review] Bug 39418: RDA Carrier, Content, and Media Vocabularies David Nind Explained about Vocabulary Category about cartridge & Video-Audio in RDA_CARRIER recorded authorised lib-Chart in format of html coding (In reply to Alla Santosh Pavan Kumar from comment #24) > Comment on attachment 186109 [details] [review] [review] > Bug 39418: RDA Carrier, Content, and Media Vocabularies > > David Nind Explained about Vocabulary Category about cartridge & Video-Audio > in RDA_CARRIER recorded authorised lib-Chart in format of html coding I'm not sure what your comment means. Could you please clarify. Thanks. David Nind (In reply to David Nind from comment #23) > I think Andrew needs to add his sign-off and passed QA status again - I must > have been signing off at the same time. Apologies for the confusion here, I should have explained it! I helped Miranda sign off on this bug via my ktd and after putting a signoff there for her I passed QA on it for myself. But the process of doing so got a little messy. Thank you for tidying it up. |