Batch export support for Views data export module

Created on 4 January 2023, almost 2 years ago
Updated 27 September 2023, about 1 year ago

Problem/Motivation

There is a issue( https://www.drupal.org/node/3204269 ) page for "Views data export" module to fix the batch support for "PDF Serialization" module. Unfortuantely this doesn't really work, or not how it should. It just creates a new page each time when new content is added by the batch instead of adding the new content after existing/previous one.

Steps to reproduce

  1. Patch "Views data export" module with https://www.drupal.org/files/issues/2021-03-22/views_data_export-3204269...
  2. Create some Node Views with "Data export" display and choose "pdf" in the settings of Format section.
  3. Set the batch in the "Export settings", for example size = 1.
  4. Export couple of nodes with this Views.

You can see that each node(with size 1 option) has it own page(if the node content is not too long) in the PDF file instead of one would come after another.

Proposed resolution

  • Patch "PDF Serialization" module.
  • Create new patch for "Views data export" module on https://www.drupal.org/node/3204269 page.
  • There will be two new template files for header and footer section of the Views "Data export" display when batch is set. These temaplates are empty but can be used if needs be.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇭🇺Hungary mibfire

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