[Koha] C4::Heading::MARC21
dcook at prosentient.com.au
dcook at prosentient.com.au
Tue Feb 22 12:36:41 NZDT 2022
Hi domm,
This is more of a "koha-devel" than a "koha" listserv question, so you might not see as many responses here either.
Regarding that module, there is a comment that says "FIXME - this should be moved to a configuration file", but really it should be based dynamically on the database data, since it's possible for staff interface users to create new authority types and to assign authority types to arbitrary bibliographic fields via the MARC Bibliographic Frameworks. (For performance, the mapping would need to be cached in Memcached.)
That said, I don't have any sponsorship to do that work, so typically I just patch things locally.
In this case, you could probably submit a patch to upstream. You might struggle to find someone willing to test it, but feel free to CC me to the Bugzilla report, and I'd take a look if you provide a clear test plan. I've spent a lot of time looking at C4::Heading::MARC21, so I feel your pain haha.
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
-----Original Message-----
Message: 2
Date: Mon, 21 Feb 2022 15:34:46 +0100
From: Thomas Klausner <domm at plix.at>
To: koha at lists.katipo.co.nz
Subject: [Koha] C4::Heading::MARC21
Message-ID: <20220221143446.GX628450 at plix.at>
Content-Type: text/plain; charset=us-ascii
Hi!
A few days ago I asked this in IRC, but got no response, so I'm trying
here:
I have a question regarding C4::Heading::MARC21:
https://github.com/Koha-Community/Koha/blob/master/C4/Heading/MARC21.pm#L49
and #167 define some hardcoded mappings which subfields to
include/display eg in the popup window when selecting an authority.
But we have some data needed to properly identify the correct auth in a
subfield that is not included in this mapping (i.e. 150g).
Would you accept additions to these mapping in upstream? Or do we have
to patch our local instance? Or could these mapping be moved into some
config files?
Greetings,
domm
--
#!/usr/bin/perl https://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
More information about the Koha
mailing list