]> source.dussan.org Git - sonarqube.git/commitdiff
Order measure filters
authorStas Vilchik <vilchiks@gmail.com>
Wed, 16 Apr 2014 12:04:43 +0000 (18:04 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 16 Apr 2014 12:04:51 +0000 (18:04 +0600)
sonar-server/src/main/js/measures/app.js

index 96623fccfebbbed1d3ab2399e152400c9366713b..eef2662fd896504f8f2a602300de105d32e97956 100644 (file)
@@ -72,19 +72,6 @@ requirejs(
             defaultValue: window.SS.phrases.any
           }),
 
-          new BaseFilters.Filter({
-            name: window.SS.phrases.alert,
-            property: 'alertLevels[]',
-            type: ChoiceFilters.ChoiceFilterView,
-            enabled: false,
-            optional: true,
-            choices: {
-              'error': window.SS.phrases.error,
-              'warn': window.SS.phrases.warning,
-              'ok': window.SS.phrases.ok
-            }
-          }),
-
           new BaseFilters.Filter({
             name: window.SS.phrases.componentsOf,
             property: 'base',
@@ -170,6 +157,19 @@ requirejs(
             type: StringFilterView,
             enabled: false,
             optional: true
+          }),
+
+          new BaseFilters.Filter({
+            name: window.SS.phrases.alert,
+            property: 'alertLevels[]',
+            type: ChoiceFilters.ChoiceFilterView,
+            enabled: false,
+            optional: true,
+            choices: {
+              'error': window.SS.phrases.error,
+              'warn': window.SS.phrases.warning,
+              'ok': window.SS.phrases.ok
+            }
           })
         ]);