Commit 70666ee6 authored by Nabil Adouani's avatar Nabil Adouani

#896 Fix the tags filter pre setting from dashboard clickable items

parent af6c17cf
......@@ -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}]
......
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