Summary: | (bug 29990 follow-up) authority heading use in search results should work with ES as well | ||
---|---|---|---|
Product: | Koha | Reporter: | Janusz Kaczmarek <januszop> |
Component: | MARC Authority data support | Assignee: | Janusz Kaczmarek <januszop> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P3 | CC: | aleisha, jzairo, nick, phil |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 36069: (bug 29990 follow-up) authority heading use in search results should work with ES as well
Bug 36069: (bug 29990 follow-up) authority heading use in search results should work with ES as well |
Description
Janusz Kaczmarek
2024-02-12 11:42:53 UTC
Created attachment 162062 [details] [review] Bug 36069: (bug 29990 follow-up) authority heading use in search results should work with ES as well It seems that the enhancement introduced with bug 29990 (syspref: ShowHeadingUse) works only with Zebra (generation of main/subject/series use info is made only in C4::AuthoritiesMarc == a Zebra incarnation of search_auth_compat) and has no effect on ES search results. This patch does the same for ES. Test plan: 1. Have an installation with Elasticsearch enabled. 2. Go to Koha Administration -> system preferences -> searching tab. Enable ShowHeadingUse system preference. 3. Do an authority search. Notice that in the Heading use column you get always 'x' for all use types: main/subject/series. 4. Apply the patch. 5. Do an authority search. Notice that you get now 'v' or 'x' for use types main/subject/series, depending on the 008/14-16 bytes. Created attachment 162089 [details] [review] Bug 36069: (bug 29990 follow-up) authority heading use in search results should work with ES as well It seems that the enhancement introduced with bug 29990 (syspref: ShowHeadingUse) works only with Zebra (generation of main/subject/series use info is made only in C4::AuthoritiesMarc == a Zebra incarnation of search_auth_compat) and has no effect on ES search results. This patch does the same for ES. Test plan: 1. Have an installation with Elasticsearch enabled. 2. Go to Koha Administration -> system preferences -> searching tab. Enable ShowHeadingUse system preference. 3. Do an authority search. Notice that in the Heading use column you get always 'x' for all use types: main/subject/series. 4. Apply the patch. 5. Do an authority search. Notice that you get now 'v' or 'x' for use types main/subject/series, depending on the 008/14-16 bytes. Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> |