| Summary: | Automated authority linking doesn't work with custom authority type | ||
|---|---|---|---|
| Product: | Koha | Reporter: | David Cook <dcook> |
| Component: | MARC Authority data support | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | frank.hansen, magnus |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
David Cook
2020-10-12 23:59:58 UTC
I suppose that a fix could be done by looking up the framework thesaurus in C4::Heading::new_from_field and overriding the default hard-coded auth_type... (At a glance, LinkBibHeadingsToAuthorities seems to be used whether or not a framework thesaurus has even been defined. That's also... special... but that's a different issue for another day.) We'd want to add some unit tests to t/db_dependent/Heading.t too for checking the correct auth_type... That hardcoding in C4::Heading::MARC21 makes things more inflexible then I thought they would be... |