ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject ambari git commit: AMBARI-12667. Saved Hive queries can not to be sorted by title (Dipayan Bhowmick via srimanth)
Date Tue, 11 Aug 2015 20:11:16 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.1 4cc198e76 -> 84962aa51


AMBARI-12667. Saved Hive queries can not to be sorted by title (Dipayan Bhowmick via srimanth)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/84962aa5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/84962aa5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/84962aa5

Branch: refs/heads/branch-2.1.1
Commit: 84962aa51cd8f5059dbfe47db84dc7f2f6fea24d
Parents: 4cc198e
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Tue Aug 11 13:10:05 2015 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Tue Aug 11 13:10:05 2015 -0700

----------------------------------------------------------------------
 .../hive/src/main/resources/ui/hive-web/app/controllers/udfs.js    | 2 +-
 .../hive/src/main/resources/ui/hive-web/app/templates/queries.hbs  | 2 +-
 .../hive/src/main/resources/ui/hive-web/app/templates/udfs.hbs     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/84962aa5/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/udfs.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/udfs.js b/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/udfs.js
index 6804260..3aec378 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/udfs.js
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/udfs.js
@@ -20,7 +20,7 @@ import Ember from 'ember';
 import FilterableMixin from 'hive/mixins/filterable';
 import constants from 'hive/utils/constants';
 
-export default Ember.Controller.extend(FilterableMixin, {
+export default Ember.ArrayController.extend(FilterableMixin, {
   fileResources: [],
 
   sortAscending: true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/84962aa5/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/queries.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/queries.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/queries.hbs
index c71a03b..96e2498 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/queries.hbs
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/queries.hbs
@@ -42,7 +42,7 @@
   <tbody>
     {{#if queries.length}}
       {{#if model.length}}
-        {{#each query in model}}
+        {{#each query in this}}
           {{#unless query.isNew}}
             <tr>
               <td>

http://git-wip-us.apache.org/repos/asf/ambari/blob/84962aa5/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/udfs.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/udfs.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/udfs.hbs
index 4cd1a97..7650fba 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/udfs.hbs
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/udfs.hbs
@@ -40,7 +40,7 @@
     </tr>
   </thead>
   <tbody>
-    {{#each udf in model}}
+    {{#each udf in this}}
       {{udf-tr-view udf=udf
                     fileResources=fileResources
                     columns=columns


Mime
View raw message