azuredatastudio
azuredatastudio copied to clipboard
"Save as ..." actions don't respect result set sorting
- Run query with results
- Sort results so they're in a different order than the initial results
- Use one of the "Save as" actions (such as "Save as JSON")
The file is generated, but the items are in the initial order. They should be in the displayed order.
Likely similar issue as https://github.com/microsoft/azuredatastudio/pull/18973
@alanrenmsft Assigning this to you for triaging
this is not a regression, when filtering/sorting is introduced, I didn't implement what you have described. It is fair to ask for this feature, but on the other hand, the filtering/sorting are just manipulating the client side data, when serialized, user may want all the data.
putting this in backlog and if users vote we can revisit it.
This is more noticeable when you select items and export those. Instead of the items you've selected you get completely different items. I'd definitely consider that functionality a bug.
agreed, the select items and export scenario is confusing, let me move this to June release and take a look.