Commit 4c121c4d by kevalbhatt Committed by Madhan Neethiraj

ATLAS-2716 : Update UI to include term value while saving search

parent 1deb8c16
...@@ -73,7 +73,8 @@ define(['require'], function(require) { ...@@ -73,7 +73,8 @@ define(['require'], function(require) {
"excludeSC": "includeSubClassifications", "excludeSC": "includeSubClassifications",
"tagFilters": "tagFilters", "tagFilters": "tagFilters",
"entityFilters": "entityFilters", "entityFilters": "entityFilters",
"attributes": "attributes" "attributes": "attributes",
"term": "termName"
}, },
"uiParameters": "uiParameters" "uiParameters": "uiParameters"
} }
......
...@@ -716,7 +716,7 @@ define(['require', ...@@ -716,7 +716,7 @@ define(['require',
}) })
}; };
this.getTagCol({ 'col': col, 'columnToShow': columnToShow }); this.getTagCol({ 'col': col, 'columnToShow': columnToShow });
if ((!_.contains(["classification", "glossary"], this.fromView))) { if ((!_.contains(["glossary"], this.fromView))) {
this.getTermCol({ 'col': col, 'columnToShow': columnToShow }); this.getTermCol({ 'col': col, 'columnToShow': columnToShow });
} }
......
...@@ -96,7 +96,7 @@ define(['require', ...@@ -96,7 +96,7 @@ define(['require',
}, },
saveAs: function(e) { saveAs: function(e) {
var value = this.getValue(); var value = this.getValue();
if (value && (value.type || value.tag || value.query)) { if (value && (value.type || value.tag || value.query || value.term)) {
this.callSaveModalLayoutView({ this.callSaveModalLayoutView({
'collection': this.collection, 'collection': this.collection,
'getValue': this.getValue, 'getValue': this.getValue,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment