Commit cbdd3965 by Rashid Khan

Merge remote-tracking branch 'topface/disabled-filters' into filterDefaults

parents bdaf1b2b 7c74cb83
......@@ -51,8 +51,12 @@ define([
// If an id is passed, the filter at that id is updated
this.set = function(filter,id,noRefresh) {
var _r;
_.defaults(filter,{mandate:'must'});
filter.active = true;
_.defaults(filter,{
mandate:'must',
active: true
});
if(!_.isUndefined(id)) {
if(!_.isUndefined(self.list[id])) {
_.extend(self.list[id],filter);
......
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