Koha-clms/Koha/SearchEngine
Janusz Kaczmarek 70f3a604c0 Bug 37231: (Bug 34940 follow-up) Highlight logged-in library in facets does not work with ES
The highlight logged-in library in facets feature does not work with
Elasticsearch.  This is because facet_title_value contains an additional
" (count)" information and so gives negative results in comparisons made
in facets.inc  (line 107).

Test plan:
==========
1. Have a test installation with Elastiscsearch.
2. Set system preference 'DisplayLibraryFacets' to 'both home and holding libraries'
3. Perform a seach that will find items of your logged-in library.
   In KTD, search for 'branch:CPL'
4. Check the facet (home and holding libraries) of your logged-in
   library is not highlighted
5. Apply the patch ; restart_all.
6. Repeat p. 3.  Check the facet (home and holding libraries)--you
   should see your logged-in branch highlighted now.

Sponsored-by: Ignatianum University in Cracow
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 1d2b1dff3a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-11-18 18:05:21 +00:00
..
Elasticsearch Bug 37231: (Bug 34940 follow-up) Highlight logged-in library in facets does not work with ES 2024-11-18 18:05:21 +00:00
Zebra Bug 31106: Make clean_search_term escape double quotes 2022-07-18 14:37:35 -03:00
Elasticsearch.pm Bug 35792: Use of uninitialized value $sub6 2024-09-11 15:56:14 +00:00
Indexer.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
QueryBuilder.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Search.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00