You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2015/08/11 22:11:16 UTC
ambari git commit: AMBARI-12667. Saved Hive queries can not to be
sorted by title (Dipayan Bhowmick via srimanth)
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 <sg...@hortonworks.com>
Authored: Tue Aug 11 13:10:05 2015 -0700
Committer: Srimanth Gunturi <sg...@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