Skip to content
Snippets Groups Projects
Commit 80449178 authored by jaapjansma's avatar jaapjansma
Browse files

Fix for cosmetic of in and exclude filter fields

parent b98676fd
No related branches found
No related tags found
No related merge requests found
......@@ -122,13 +122,14 @@
exclude.id = 'exclude_' + include.id;
include.mode = 'include';
exclude.mode = 'exclude';
r.push(include, exclude);
if (idsNeeded.indexOf(exclude.id) >= 0) {
r.push(exclude);
} else {
r.push(include);
}
})
}
callback(multiple ? r.concat(existing) : r[0]);
// Trigger change (store data to avoid an infinite loop of lookups)
e.data('entity-value', r).trigger('change');
});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment