Repository: atlas Updated Branches: refs/heads/master dae1dd9d3 -> 0ddc022fe
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]> (cherry picked from commit 348d5fe19db9933b11f3c09d5c31cd2e1a8ec57d) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/0ddc022f Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/0ddc022f Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/0ddc022f Branch: refs/heads/master Commit: 0ddc022fe95eca6dbb411b81ed19cc9100c00e00 Parents: dae1dd9 Author: pratik pandey <[email protected]> Authored: Thu Nov 30 17:00:07 2017 +0530 Committer: Madhan Neethiraj <[email protected]> Committed: Thu Nov 30 09:35:39 2017 -0800 ---------------------------------------------------------------------- dashboardv2/public/js/utils/CommonViewFunction.js | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/0ddc022f/dashboardv2/public/js/utils/CommonViewFunction.js ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/utils/CommonViewFunction.js b/dashboardv2/public/js/utils/CommonViewFunction.js index d3153f5..7cd617e 100644 --- a/dashboardv2/public/js/utils/CommonViewFunction.js +++ b/dashboardv2/public/js/utils/CommonViewFunction.js @@ -428,6 +428,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; } @@ -492,6 +496,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; }
