Repository: atlas
Updated Branches:
  refs/heads/branch-0.8 04bc79a24 -> 348d5fe19


ATLAS-2281: UI fix to address error in saving tag/type attribute filter queries 
with null/not-null filters

Signed-off-by: Madhan Neethiraj <[email protected]>


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

Branch: refs/heads/branch-0.8
Commit: 348d5fe19db9933b11f3c09d5c31cd2e1a8ec57d
Parents: 04bc79a
Author: pratik pandey <[email protected]>
Authored: Thu Nov 30 17:00:07 2017 +0530
Committer: Madhan Neethiraj <[email protected]>
Committed: Thu Nov 30 08:58:52 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/atlas/blob/348d5fe1/dashboardv2/public/js/utils/CommonViewFunction.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/utils/CommonViewFunction.js 
b/dashboardv2/public/js/utils/CommonViewFunction.js
index a3b6b91..ddc1ce8 100644
--- a/dashboardv2/public/js/utils/CommonViewFunction.js
+++ b/dashboardv2/public/js/utils/CommonViewFunction.js
@@ -579,6 +579,10 @@ define(['require', 'utils/Utils', 'modules/Modal', 
'utils/Messages', 'utils/Enum
                     return "ends_with";
                 } else if (oper == "contains") {
                     return "contains";
+                } else if (oper == "notNull") {
+                    return "not_null";
+                } else if (oper == "isNull") {
+                    return "is_null";
                 }
                 return oper;
             }
@@ -643,6 +647,10 @@ define(['require', 'utils/Utils', 'modules/Modal', 
'utils/Messages', 'utils/Enum
                     return "endsWith";
                 } else if (oper == "contains") {
                     return "contains";
+                } else if (oper == "not_null") {
+                    return "notNull";
+                } else if (oper == "is_null") {
+                    return "isNull";
                 }
                 return oper;
             }

Reply via email to