Interfering with Search API Autocomplete

Created on 12 November 2024, about 2 months ago

Problem/Motivation

We have been using this module to great effect on our education site.

HOWEVER, we have just noticed one area where it appears to not be playing ball.

We use Search API and we have some views set up that allow anonymous users to type in words and have Search API Autocomplete offer them suggestions...

The path for that search page is /search/student and so we have exempted that in Require Login configuration page -- that all works fine in allowing anonymous users to visit the page and us it in any other regard.

The problem is that when Require Login is active, the Search API autocomplete feature fails leaving them with a continuous AJAX throbber like this...

We are completely certain that Require Login (or our misunderstanding of how to accommodate AJAX requests) is the culprit here because simply disabling the module allows the autocomplete on that page to work perfectly again for anonymous users.

So is there some kind of special prefix or other addition the search/student path that we need to add or is this a general problem with allowing access via AJAX to already-enabled paths?

We would really appreciate some guidance here is it a rathe spoiling the UX for anonymous user.

Thank you

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024