Summary: | Map biblioitems.place to 264$a by default (MARC21) | ||
---|---|---|---|
Product: | Koha | Reporter: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Component: | System Administration | Assignee: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | david, gmcharlt, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21705 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29627 |
||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This updates the default Koha to MARC mappings so that biblioitems.place maps to 264$a. Currently it only maps to 260$a, and RDA uses 264$a.
|
|
Version(s) released in: |
22.05.00
|
Circulation function: | |
Attachments: |
Bug 29626: Map biblioitems.place to 264 by default (MARC21)
Bug 29626: Map biblioitems.place to 264 by default (MARC21) Bug 29626: Map biblioitems.place to 264 by default (MARC21) |
Description
Caroline Cyr La Rose
2021-12-02 22:32:04 UTC
Created attachment 128184 [details] [review] Bug 29626: Map biblioitems.place to 264 by default (MARC21) This patch adds a mapping from 264 to biblioitems.place. To test: 1) Apply patch 2) Delete existing frameworks - In the database delete from marc_tag_structure; delete from marc_subfield_structure; delete from biblio_framework; 3) Load default framework - In a terminal, run ./misc/load_yaml.pl -f installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml --load 4) In the staff interface, go to Administration > MARC bibliographic framework - Make sure the default framework is there 5) In Administration > Koha to MARC mapping, check the mappings for biblioitems.place - biblioitems.place should be mapped to 260 as well as 264 6) Create a bibliographic record with a value in 264 - In the database, check the biblioitems entry for this record, the value from 264 should be in place 7) Create a bibliographic record with a value un 260 - In the database, check the biblioitems entry for this record, the value from 260 should be in place I hope I didn't forget anything! :) Caroline Created attachment 128245 [details] [review] Bug 29626: Map biblioitems.place to 264 by default (MARC21) This patch adds a mapping from 264 to biblioitems.place. To test: 1) Apply patch 2) Delete existing frameworks - In the database delete from marc_tag_structure; delete from marc_subfield_structure; delete from biblio_framework; 3) Load default framework - In a terminal, run ./misc/load_yaml.pl -f installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml --load 4) In the staff interface, go to Administration > MARC bibliographic framework - Make sure the default framework is there 5) In Administration > Koha to MARC mapping, check the mappings for biblioitems.place - biblioitems.place should be mapped to 260 as well as 264 6) Create a bibliographic record with a value in 264 - In the database, check the biblioitems entry for this record, the value from 264 should be in place 7) Create a bibliographic record with a value un 260 - In the database, check the biblioitems entry for this record, the value from 260 should be in place I hope I didn't forget anything! :) Caroline Signed-off-by: David Nind <david@davidnind.com> Testing notes using koha-testing-docker: 1. I had to make 264$a visible in the editor for the default framework 2. Database query for steps 6 and 7 (where XXX = the newly created record number): select * from biblioitems where biblionumber = XXX; I also changed the assignee for the bug to you. Created attachment 129976 [details] [review] Bug 29626: Map biblioitems.place to 264 by default (MARC21) This patch adds a mapping from 264 to biblioitems.place. To test: 1) Apply patch 2) Delete existing frameworks - In the database delete from marc_tag_structure; delete from marc_subfield_structure; delete from biblio_framework; 3) Load default framework - In a terminal, run ./misc/load_yaml.pl -f installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml --load 4) In the staff interface, go to Administration > MARC bibliographic framework - Make sure the default framework is there 5) In Administration > Koha to MARC mapping, check the mappings for biblioitems.place - biblioitems.place should be mapped to 260 as well as 264 6) Create a bibliographic record with a value in 264 - In the database, check the biblioitems entry for this record, the value from 264 should be in place 7) Create a bibliographic record with a value un 260 - In the database, check the biblioitems entry for this record, the value from 260 should be in place I hope I didn't forget anything! :) Caroline Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 22.05, thanks to everybody involved [U+1F984] |