Closed (fixed)
Project:
Views data export
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2017 at 01:28 UTC
Updated:
23 Sep 2022 at 13:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jim22 commentedI have the same issue. The sort order doesn't carry over from the table column sort results to the data-export (csv). I also am using an exposed pager offset since there is no batch export currently. This actually causes different results in the data-export compared to the results in the page views' table rows.... since the sort doesn't carry over.
Comment #3
yusufhmI've added the
buildSortPostmethod to the DataExport style plugin which parses query parameters and adds them to the view's sort.Comment #5
yusufhmUploading new patch with fix.
Comment #7
yusufhmUploaded the wrong patch; uploading correct one now.
Comment #8
manuel garcia commentedThanks for the patch, reworking the logic a bit to make it easier to follow.
Comment #10
jhedstromLooks good. Thanks!
Comment #12
jamesyao commentedMy Drupal site (Drupal Core 9.4.6 and PHP 8.0) runs with the latest version of Views Data Export (8.x-1.1). I have still experienced the issue (Tablesorts not applied to export). After I have tested all scenarios, exporting data does not reflect with the sorting order of the table views.