Data Export in Batch fails to acknowledge Facet selections

Created on 18 October 2023, over 1 year ago

Problem/Motivation

I have a view with >50,000 records. I am trying to export several thousand records as CSV. Standard mode for Views Data Export fails to complete, so I must use Batch mode. But batch mode does not return the correct records if using facets, nor does it return the correct number of records.

I'm running Drupal 9.5.11, PHP 8.1.23.

A similar issue is discussed here (see comment #193), but for 8.x-1.x-dev:
https://www.drupal.org/project/views_data_export/issues/2789531#comment-... โœจ Support for batch operations Fixed

Steps to reproduce

Create a view and add search facets. Add a download CSV button and set the mode to "batch" rather than "standard". Set the batch size to 100 records. If my search facet selections return 50 records, when I click the download button I get 100 records (instead of 50), and none of these downloaded records recognize my facet selections. If my faceted search returns 140 records, when I click the download button I get 200 records (none of which match my facet selections).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ’ฌ Support request
Status

Active

Version

1.3

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States jhinds

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

Comments & Activities

Production build 0.71.5 2024