[IMP] don't reset filters select after selecting a saved filter

bzr revid: xmo@openerp.com-20120126085526-21rjfs2beykv00rv
This commit is contained in:
Xavier Morel 2012-01-26 09:55:26 +01:00
parent 53274ea397
commit a01106ca30
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ openerp.web.SearchView = openerp.web.OldWidget.extend(/** @lends openerp.web.Sea
val = parseInt(val, 10);
var filter = this.managed_filters[val];
this.do_clear().then(_.bind(function() {
select.val('get:' + val);
var groupbys = _.map(filter.context.group_by.split(","), function(el) {
return {"group_by": el};
});