Commit 7c74cb83 by Ian Babrou

do not auto-enable saved filters

parent f7442f60
......@@ -54,8 +54,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