I created a new field MARC 697 – local subject I also created a “local subjectc” authority type and then linked it to field MARC 697. I imported some records and authorities with the information into the appropriate fields. I ran the misc/link_bibs_to_authorities.pl script to link the authorities with the records information. Fields 650, 100, etc. were linked normally, but field 697 was not linked. Is this a bug in the system? Is Koha not linking newly created MARCS fields?
What are you using for the main heading field in your local authority type? I think they cannot be doubled up with the normal ones and there might also be a hardcoded mapping of main heading MARC field to authority type in the code somewhere.
Field marc created 697 I tested the creation of Subfields 197 $a 150 $a Did not link to any of the subfields
(In reply to victor from comment #2) > > Field marc created > > 697 > > I tested the creation of Subfields > > 197 $a > > 150 $a > > Did not create links and links for any of the subfields
This is a known issue in Koha, and I don't think it's a critical bug. I think it's arguably an enhancement. I think C4/Biblio.pm and C4/Heading/MARC21.pm need to be updated. Locally, I've added an authority type, but it required coding to do it. At some point, it would be a good idea for us to move out of hardcoding a lot of authority type logic and rely on configuration instead.