Batch exports of Search API views fails for anonymous users

Created on 27 May 2021, over 3 years ago
Updated 21 October 2024, about 1 month ago

I have set up a view using the search api with a number of facets as well as a csv export.

First of all, the export has to be set to a batch export otherwise the filters set in the facets are not applied to the query and it just returns unfiltered results. However, if it is configured as a batch export, it only works for logged in users.

Anonymous users, i.e. users that are not logged in, can click on the csv link and see the status bar but the download never starts and no download link is displayed. It just takes you to the front page and nothing happens after that.

This might actually not be an issue of this module per se but some issue with the permissions but I can figure out where the problem lies.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024