[Koha-bugs] [Bug 36069] (bug 29990 follow-up) authority heading use in search results should work with ES as well

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 12 17:37:47 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36069

--- Comment #1 from Janusz Kaczmarek <januszop at gmail.com> ---
Created attachment 162062
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162062&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list