~nicolas-tresegnie/openerp-web/bug-fix-1002897

« back to all changes in this revision

Viewing changes to addons/web/static/src/js/search.js

  • Committer: Xavier Morel
  • Date: 2012-05-18 09:44:43 UTC
  • Revision ID: xmo@openerp.com-20120518094443-boszrcvibitbrozf
[FIX] correctly save group_by context key when saving a search to a dashboard

Show diffs side-by-side

added added

removed removed

Lines of Context:
310
310
                    _.each(data.contexts, function(x) {
311
311
                        context.add(x);
312
312
                    });
 
313
                    context.add({
 
314
                        group_by: _(data.groupbys).pluck('group_by')
 
315
                    });
313
316
                    _.each(data.domains, function(x) {
314
317
                           domain.add(x);
315
318
                    });