You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2017/11/01 13:17:39 UTC

atlas git commit: ATLAS-2222 : UI, Search using entity and trait attributes - , in string attribute filter throws 400 Bad request

Repository: atlas
Updated Branches:
  refs/heads/master 1869aee3d -> 3b9ea1dd7


ATLAS-2222 : UI, Search using entity and trait attributes - , in string attribute filter throws 400 Bad request

Signed-off-by: nixonrodrigues <ni...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/3b9ea1dd
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/3b9ea1dd
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/3b9ea1dd

Branch: refs/heads/master
Commit: 3b9ea1dd7e34c3c294c9f03ed7652d137d96096e
Parents: 1869aee
Author: pratik pandey <pr...@freestoneinfotech.com>
Authored: Wed Nov 1 16:11:22 2017 +0530
Committer: nixonrodrigues <ni...@apache.org>
Committed: Wed Nov 1 18:46:52 2017 +0530

----------------------------------------------------------------------
 dashboardv2/public/js/utils/CommonViewFunction.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/3b9ea1dd/dashboardv2/public/js/utils/CommonViewFunction.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/utils/CommonViewFunction.js b/dashboardv2/public/js/utils/CommonViewFunction.js
index 37f14d5..a3b6b91 100644
--- a/dashboardv2/public/js/utils/CommonViewFunction.js
+++ b/dashboardv2/public/js/utils/CommonViewFunction.js
@@ -552,7 +552,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
                     attrQuery.push(url.join("::"));
                 });
                 if (attrQuery.length) {
-                    return attrQuery.join();
+                    return attrQuery.join(":,:");
                 } else {
                     return null;
                 }
@@ -586,7 +586,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
         extractUrl: function(urlObj) {
             var attrObj = [];
             if (urlObj && urlObj.length) {
-                _.each(urlObj.split(","), function(obj) {
+                _.each(urlObj.split(":,:"), function(obj) {
                     var temp = obj.split("::");
                     var finalObj = { id: temp[0], operator: temp[1], value: _.trim(temp[2]) }
                     if (temp[3]) {