Hello Aleisha,
See if https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30173 fixes it. Different avenues, same crossroad and same problem. The patch fixed it for us by isolating the suppress:false. Yours is a bit different, but might be related.

On 2022-02-23 18:20, Aleisha Amohia wrote:
Hi all,

ElasticsearchCrossFields is a great syspref to enable if you need to
search across indexes, for example your search term includes both title
and author keywords.

We've discovered this only works on the staff client, and returns no
results when searching on the OPAC.

After some investigation, this is because the OPAC will add a
`suppress:false` to the search query, to hide records that are
suppressed in OPAC.

I'm not sure why, but this combination of suppress:false and
ElasticsearchCrossFields means no results are returned in the OPAC.

Has anyone seen this before or know a fix, or why it happens?

I've reported this bug:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30141

_______________________________________________

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to