Bug 26079

Summary: Use 008 positions 14-16 as authoritative authority entry type
Product: Koha Reporter: Alex Buckley <alexbuckley>
Component: MARC Authority data supportAssignee: Alex Buckley <alexbuckley>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 26079: New syspref
Bug 26079: New syspref
Bug 26079: Import all authority records into default auth type if syspref enabled
Bug 26079: If syspref is enabled display 008 positions 14-16 as auth type
Bug 26079: If syspref is enabled display 008 positions 14-16 as auth type

Description Alex Buckley 2020-07-29 00:55:27 UTC
Instead of using the auth_header.authtypecode as the authoritative authority entry type look at the 008 position 14-16.

According to MARC standards ( https://www.loc.gov/marc/authority/ad008.html ):

* 088 position 14 = 'a' means the authority record is a name authority
* 008 position 15 = 'a' means the authority record is a subject authority
* 008 position 16 = 'a' means the authority record is a series authority

These three characters allow authority records to belong to multiple auth types. Koha only allows an authority record to have one auth type. 

Given a syspref is enabled load all authorities into the default authority type. Search/use/display them according to how they are coded in their 008 positions 14-16
Comment 1 Alex Buckley 2020-07-29 01:06:31 UTC
Created attachment 107474 [details] [review]
Bug 26079: New syspref
Comment 2 Alex Buckley 2020-07-29 01:16:40 UTC
Created attachment 107475 [details] [review]
Bug 26079: New syspref
Comment 3 Alex Buckley 2020-07-29 21:00:07 UTC
Created attachment 107535 [details] [review]
Bug 26079: Import all authority records into default auth type if syspref enabled
Comment 4 Alex Buckley 2020-07-29 21:00:57 UTC
Created attachment 107536 [details] [review]
Bug 26079: If syspref is enabled display 008 positions 14-16 as auth type
Comment 5 Alex Buckley 2020-07-30 05:29:24 UTC
Created attachment 107559 [details] [review]
Bug 26079: If syspref is enabled display 008 positions 14-16 as auth type
Comment 6 Alex Buckley 2022-03-30 01:22:33 UTC
Bug 29990 displays how an authority can be used based on the MARC 008/14-16 one of the objectives of this bug report, so I am marking this as resolved.

*** This bug has been marked as a duplicate of bug 29990 ***