Bug 13708 - MARC Mapping Item columns to several MARC Fields
Summary: MARC Mapping Item columns to several MARC Fields
Status: BLOCKED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Olli-Antti Kivilahti
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-13 11:56 UTC by Olli-Antti Kivilahti
Modified: 2015-02-17 18:39 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 13708 - MARC Mapping Item columns to several MARC Fields (2.56 KB, patch)
2015-02-13 12:00 UTC, Olli-Antti Kivilahti
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Olli-Antti Kivilahti 2015-02-13 11:56:15 UTC
Because we have ran out of MARC subfield codes, we cannot add more Item-columns from the DB to the search indexable MARC Record.
This patch enables support for "Koha to MARC mapping" to work on other Fields as well.

This patch enables editing Items' columns mapped to non-standard MARC Items Fields.
No further issues regarding using non-standard Item fields identified yet.
Comment 1 Olli-Antti Kivilahti 2015-02-13 12:00:13 UTC
Created attachment 35896 [details] [review]
Bug 13708 - MARC Mapping Item columns to several MARC Fields

Because we have ran out of MARC subfield codes, we cannot add more Item-columns
from the DB to the search indexable MARC Record.
This patch enables support for "Koha to MARC mapping" to work on other Fields
as well.

This patch enables editing Items' columns mapped to non-standard MARC Items
Fields.
No further issues regarding using non-standard Item fields identified yet.
Comment 2 Katrin Fischer 2015-02-13 12:43:42 UTC
We have used Uppercase letters successfully for some things.
Comment 3 Olli-Antti Kivilahti 2015-02-13 12:53:11 UTC
Thanks for the comment!

What do you mean with "some" things?
Comment 4 Olli-Antti Kivilahti 2015-02-13 12:54:54 UTC
Also I have a feeling that MARC standard has only lowercase subfield codes?
I don't know for sure.
Comment 5 Katrin Fischer 2015-02-13 12:56:50 UTC
Storing additional item related information - Koha seems to deal with it well, although you might be right about the standard :) I know we have uppercase subfield codes in some of the data we receive as well.
Comment 6 Olli-Antti Kivilahti 2015-02-13 15:40:29 UTC
Katrin, thanks for the tip. I'l ltry your suggestion.
The additems.pl is such an ridiculous mess any modifications I would make would make it even worse.
The remnants of MARC:ified Items need bo be better encapsulated instead of thrown around in every conceivable file.
Comment 7 Katrin Fischer 2015-02-17 18:39:28 UTC
Hm, from the comments on IRC maybe I misunderstood what you are trying to do? What we do is use upper case letters with no explicit mapping to a field in the items table in the configuration - this way the data ends up in items.more_subfields_xml. If you found a problem with this approach it would be good to know!