[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
Tue Feb 13 11:14:35 CET 2024


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

Roman Dolny <roman.dolny at jezuici.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #162062|0                           |1
        is obsolete|                            |

--- Comment #2 from Roman Dolny <roman.dolny at jezuici.pl> ---
Created attachment 162089
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162089&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.

Signed-off-by: Roman Dolny <roman.dolny at jezuici.pl>

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


More information about the Koha-bugs mailing list