Browse Source

HUE-3689 [oozie] Drag & dropped Hive action should be sorted in reverse

Romain Rigaux 9 years ago
parent
commit
2590aed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

+ 1 - 1
apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

@@ -492,7 +492,7 @@ var WorkflowEditorViewModel = function (layout_json, workflow_json, credentials_
     loadLayout(self, layout_json);
     self.workflow.loadNodes(workflow_json);
 
-    $.get('/desktop/api2/docs/?type=query-hive&sort=last_modified&limit=100', function(data) {
+    $.get('/desktop/api2/docs/?type=query-hive&sort=-last_modified&limit=100', function(data) {
       if (data && data.documents) {
         var queries = [];
         $.each(data.documents, function(index, query) {