I have a table view that provides a list of nodes. The default sort order is date (desc). This sequence is defined both in the sort criteria on the defaults display, as well as the default sequence in the table plugin style settings.
Exporting the view to csv respects the date sequence, but if the client chooses to click-sort on a column other than date, the exported csv is still sorted by date.
The link path on the csv button for initial display of view (ie using default sort sequence) is http://sitename/all_previous_meetings_by_region/6/export_to_csv.
If I click-sort on title, the display resequences correctly, and the link path changes to http://sitename/all_previous_meetings_by_region/6/export_to_csv?order=ti...
Is there a fault or omission in the code that is ignoring the clicksort resequence info in the link, or am I perhaps missing some nuance in the feed configuration?
Comments
Comment #1
neclimdulNot your fault, the table output has special code for this. The arguments get passed along to the feed but the feed doesn't have the special code to handle sorting so... it just gets ignored. This might just be something that's kinda funky with views so I think I'm going to have to mull on how we could deal with this.
Comment #2
neclimdulAwesome new "Parent sort" feature/option added to -dev that allows exported feeds to steal any additional sorting the parent attached display is using. This fixes this issue when turned on. Thanks goes to merlinofchaos for a ton of pointers and hints on how it could be done.
Comment #4
nally commentedI see that 6.x-1.0 was updated Jan 8th, 2010 and 6.x-1.x-dev's most recent version (as of this posting) is Jan 16th.
Does the Jan 8th non-dev version have this fix?