rhtyd opened a new pull request #3226: server: add support for sorting zones in 
UI/api
URL: https://github.com/apache/cloudstack/pull/3226
 
 
   **Problem**: Not able to configure a sort order for the zone that are listed 
in various views in the UI.
   **Root Cause**: There was no mechanism to accept sort key for existing zones 
or UI widget to drag them in a certain order.
   **Solution**: The order can now be configured through the editZone API by 
providing sort_key parameter for zones, or by reordering the zones in the Zones 
list in the UI. Database changes include updating table “data_center” which 
contains the “sort_key” column containing integer values and defaults to zero.
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   
![51236319-da9d2a80-1997-11e9-9c23-b8a4e5e27ccd](https://user-images.githubusercontent.com/95203/54276741-1af1e100-45b4-11e9-952a-17525343f039.png)
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to