diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-05-23 13:23:14 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-05-23 13:23:14 +0200 |
| commit | 9168a66d6a5403495d74bb9136b85438004540ed (patch) | |
| tree | d189b0d617b8471aa07bc7aa89bb37752a3dcd9e /addons/web/doc/module/static/src/css/web_example.css.1.diff | |
| parent | c54383d4e5b0681acdad0c9ebf854f8fc131c9cc (diff) | |
[ADD] is_default custom filters
* Second checkbox when creating a custom filter, unchecked by default
* Global is_default filter overrides action defaults
* Personal is_default filter overrides global is_default
* Extracted sections of CustomFilter's behavior into methods to make
them usable from the SearchView and easier to understand
Hack note: CustomFilters#facet_for_defaults is weird stuff, it never
fetches an actual facet, but it forces the SearchView's defaults
handling to wait until CustomFilters is ready before executing,
meaning SearchView#setup_default_query can run safe in the knowledge
that custom filters are filled and everything.
That this hidden dependency exists bugs me, though there's a comment.
bzr revid: xmo@openerp.com-20120523112314-618hfttpegn39qey
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions
