Bug 38494 - Koha should consider authority heading use in cataloging
Summary: Koha should consider authority heading use in cataloging
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Authority data support (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement
Assignee: Janusz Kaczmarek
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-20 12:56 UTC by Janusz Kaczmarek
Modified: 2024-11-20 23:35 UTC (History)
1 user (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 38494: Add 'ConsiderHeadingUse' system preference (3.69 KB, patch)
2024-11-20 23:12 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 38494: Koha should consider authority heading use in cataloging (3.02 KB, patch)
2024-11-20 23:12 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 38494: Add 'ConsiderHeadingUse' system preference (3.74 KB, patch)
2024-11-20 23:16 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 38494: Koha should consider authority heading use in cataloging (3.07 KB, patch)
2024-11-20 23:17 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Kaczmarek 2024-11-20 12:56:11 UTC
In MARC 21 authority records, three bytes (008/14-16) indicate what the heading can be used for (main/added entry, subject entry, series entry).  Koha should be able to respect the record's intended use in authority search during cataloging, provided that the authority file is well formed.  Also, we should be able to decide between more strict but correct behavior and current lax behavior.
Comment 1 Phil Ringnalda 2024-11-20 21:38:37 UTC
I think so too :)

I can't remember whether I actually looked at whether you could do it with LinkerOptions rather than yet another pref, though.

*** This bug has been marked as a duplicate of bug 33296 ***
Comment 2 Janusz Kaczmarek 2024-11-20 23:11:09 UTC
This is not a duplicate to Bug 33296.  Automated linker will be the next step.  This is for cataloging authority finder, which is, technically, not connected with the linker.
Comment 3 Janusz Kaczmarek 2024-11-20 23:12:57 UTC
Created attachment 174863 [details] [review]
Bug 38494: Add 'ConsiderHeadingUse' system preference

Add new system preference 'ConsiderHeadingUse' to by able to consider
the intended use of authority records (008/14-16) during cataloging
and linking.
Comment 4 Janusz Kaczmarek 2024-11-20 23:12:59 UTC
Created attachment 174864 [details] [review]
Bug 38494: Koha should consider authority heading use in cataloging

In MARC 21 authority records, three bytes (008/14-16) indicate what the
heading can be used for (main/added entry, subject entry, series entry).
Koha should be able to respect the record's intended use in authority
search during cataloging, provided that the authority file is well
formed.  Also, we should be able to decide between more strict but
correct behavior and current lax behavior.

Test plan:
----------
1. Apply the patch; updatedatabase ; restart_all
2. Set the ShowHeadingUse system preference to ‘Show’
3. Go to the Cataloging editor and open the authority finder plugin for
   the 100 field. Search for Peter. With standard ktd test data you should
   get 9 results, some with ‘v’ before Main/Added Entry, some with ‘x’.
   These with ‘x’ are not to be used in this context, provided you use a
   well-formed authority file
4. Set ConsiderHeadingUse system preference to ‘Do’
5. Repeat p. 3.  You should get now only 4 Peters – those with ‘v’
   before Main/Added Entry (008/14 = ‘a’)
6. You can repeat the test for subject headings (6XX) and series
   headings (sometimes you would have to modify the test data, e.g. there
   are few authority records with 008/16 = ‘a’ (series use)
7. This should work equally with Zebra and with Elasticsearch
Comment 5 Janusz Kaczmarek 2024-11-20 23:16:58 UTC
Created attachment 174865 [details] [review]
Bug 38494: Add 'ConsiderHeadingUse' system preference

Add new system preference 'ConsiderHeadingUse' to be able to consider
the intended use of authority records (008/14-16) during cataloging
and linking.

Sponsored-by: Ignatianum University in Cracow
Comment 6 Janusz Kaczmarek 2024-11-20 23:17:00 UTC
Created attachment 174866 [details] [review]
Bug 38494: Koha should consider authority heading use in cataloging

In MARC 21 authority records, three bytes (008/14-16) indicate what the
heading can be used for (main/added entry, subject entry, series entry).
Koha should be able to respect the record's intended use in authority
search during cataloging, provided that the authority file is well
formed.  Also, we should be able to decide between more strict but
correct behavior and current lax behavior.

Test plan:
----------
1. Apply the patch; updatedatabase ; restart_all
2. Set the ShowHeadingUse system preference to ‘Show’
3. Go to the Cataloging editor and open the authority finder plugin for
   the 100 field. Search for Peter. With standard ktd test data you should
   get 9 results, some with ‘v’ before Main/Added Entry, some with ‘x’.
   These with ‘x’ are not to be used in this context, provided you use a
   well-formed authority file
4. Set ConsiderHeadingUse system preference to ‘Do’
5. Repeat p. 3.  You should get now only 4 Peters – those with ‘v’
   before Main/Added Entry (008/14 = ‘a’)
6. You can repeat the test for subject headings (6XX) and series
   headings (sometimes you would have to modify the test data, e.g. there
   are few authority records with 008/16 = ‘a’ (series use)
7. This should work equally with Zebra and with Elasticsearch

Sponsored-by: Ignatianum University in Cracow