villebro opened a new issue #12650:
URL: https://github.com/apache/superset/issues/12650


   When enabling "sort bars" and disabling again, the order isn't reset to the 
original order.
   
   ### Expected results
   
   The original order is restored.
   
   ### Actual results
   
   The data is sorted by x-axis.
   
   #### Screenshots
   
   
![bar-chart-sort](https://user-images.githubusercontent.com/33317356/105328638-ec45e800-5bd8-11eb-8652-018646c52ca5.gif)
   
   #### How to reproduce the bug
   
   1. Go to 'Genders by state' example chart
   2. Click on 'Customize'
   3. check 'sort bars'
   4. uncheck 'sort bars'
   4. See data ordered by x-axis
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `master` branch
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to