Closed (fixed)
Project:
Views data export
Version:
8.x-1.0-alpha4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2017 at 08:22 UTC
Updated:
27 Aug 2025 at 08:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
phjouComment #3
phjouComment #4
acrollet commentedThere's a small code style issue, space needed after the if:
if(!empty($displays[$this->display['id']])) {However I've used this patch, it does what it says on the tin, I'd consider it RTBC with the style fix.
Comment #5
phjouThanks for you review, there is a new patch without the syntax error.
Comment #6
acrollet commentedawesomesauce
Comment #8
jhedstromThanks! Sorry for the delay!
Comment #10
duneblI don't understand... this patch is committed but I still get the same button title for all exports.
Am I missing something?
The twig file of the export button looks like:
I don' see any title in it (and looking at the preprocess hook, the variable doesn't contains any title too)
Comment #11
nikita_ttI agree with #10. This patch does not make any sense.
Comment #12
letiendat1002 commentedHey #10, #11. I found a solution to your problem, it's on another issue https://www.drupal.org/project/views_data_export/issues/3200051
I used a patch on comment #7 for version 1.4 / Drupal 10; there's also a patch for Drupal 11.