Skip to content

Commit

Permalink
#896 Fix the tags filter pre setting from dashboard clickable items
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Feb 23, 2019
1 parent af6c17c commit 70666ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/scripts/services/GlobalSearchSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
};

this.buildDefaultFilterValue = function(fieldDef, value) {
if(fieldDef.type === 'user' || fieldDef.values.length > 0) {
if(fieldDef.name === 'tags' || fieldDef.type === 'user' || fieldDef.values.length > 0) {
return {
operator: 'any',
list: [{text: value.id, label:value.name}]
Expand Down

0 comments on commit 70666ee

Please sign in to comment.