ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [25/34] ambari git commit: AMBARI-20838.WFM: Date filter in workflow dashboard is not working properly (Anita Gnanamalar Jebaraj via padmapriyanitt)
Date Wed, 26 Apr 2017 18:01:31 GMT
AMBARI-20838.WFM: Date filter in workflow dashboard is not working properly (Anita Gnanamalar
Jebaraj via padmapriyanitt)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 2ff8c0116a044d4b028e3835025c9b116f7c1021
Parents: 09ca485
Author: padmapriyanitt <padmapriyanitt@gmail.com>
Authored: Wed Apr 26 15:05:00 2017 +0530
Committer: padmapriyanitt <padmapriyanitt@gmail.com>
Committed: Wed Apr 26 15:05:00 2017 +0530

----------------------------------------------------------------------
 .../main/resources/ui/app/components/search-create-new-bar.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2ff8c011/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js
----------------------------------------------------------------------
diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js
b/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js
index 96ee230..7e69dea 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js
+++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js
@@ -161,7 +161,7 @@ export default Ember.Component.extend(Ember.Evented,{
         queryParam = "endCreatedTime";
       }
       if (date._isAMomentObject) {
-        var dateFilter = queryParam +"="+ date.format("YYYY-MM-DDThh:mm")+'Z';
+        var dateFilter = queryParam +"="+ date.format("YYYY-MM-DDTHH:mm")+'Z';
         this.filter[queryParam] = dateFilter;
       } else {
         delete this.filter[queryParam];
@@ -204,7 +204,7 @@ export default Ember.Component.extend(Ember.Evented,{
         onClear(type) {
           if (type ==='start' && this.get('startDate') === "") {
             this.filterByDate("", type);
-          } else if (type ==='start' && this.get('endDate') === "") {
+          } else if (type ==='end' && this.get('endDate') === "") {
             this.filterByDate("", type);
           }
 


Mime
View raw message