GitHub user zjffdu opened a pull request: https://github.com/apache/zeppelin/pull/2204
ZEPPELIN-2189. The order of dynamic forms should be the order that you create them ### What is this PR for? The order of dynamic forms should be the order that you create them. So I made the following 2 changes for this: * change the type of forms in GUI from TreeMap to LinkedHashMap * remove orderBy in paragraph-parameterizedQueryForm.html Besides, I also did some code refactoring. ### What type of PR is it? [Bug Fix | Improvement | Refactoring] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-2189 ### How should this be tested? Tested manually. ### Screenshots (if appropriate) Before ![2017-02-27_1310](https://cloud.githubusercontent.com/assets/164491/24486826/9ac3c1e4-153e-11e7-8280-8cf4f6ef7560.png) After ![2017-03-30_1109](https://cloud.githubusercontent.com/assets/164491/24486828/9b733ee4-153e-11e7-9a13-44ed71aa29d8.png) ### Questions: * Does the licenses files need update? * Is there breaking changes for older versions? * Does this needs documentation? You can merge this pull request into a Git repository by running: $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-2189 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2204.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2204 ---- commit 369900ec9fb2998004c13daf096b51680b11f2a1 Author: Jeff Zhang <zjf...@apache.org> Date: 2017-03-30T01:05:34Z ZEPPELIN-2189. The order of dynamic forms should be the order that you create them ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---