odoo/addons/web
Xavier Morel f910bc6780 [FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty
The facet removal from its last value being removed
(`this.remove(facet)` in the 'change' handler of the SearchQuery)
broadcasted its `remove` event, triggering the `do_search` (and
repaint) hook of the SearchView a second time right after the
`change`-triggered search.

Not only is this unnecessary and duplicated work (the `remove` is a
sync operation, so searchview-attached events haven't yet executed by
the time `remove` is called), the listview really doesn't like getting
a ``search`` signal while it's already executing a search.

So fix that.

bzr revid: xmo@openerp.com-20121018124005-6vfi7tqasz32ai8v
2012-10-18 14:40:05 +02:00
..
controllers web remove common, fix imports 2012-10-10 22:37:53 +02:00
doc [MOVE] datagroup to a private ListView API 2012-10-17 12:52:13 +02:00
i18n Launchpad automatic translations update. 2012-10-13 04:49:41 +00:00
static [FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty 2012-10-18 14:40:05 +02:00
test_support [IMP] remove OpenERP Enterprise old code 2012-08-27 23:32:12 +02:00
tests [FIX] web/tests: `import openerp.addons.web` instead of `import web`. 2012-10-15 15:49:18 +02:00
__init__.py web remove common, fix imports 2012-10-10 22:37:53 +02:00
__openerp__.py [REM] import from core, moving to module 2012-09-11 08:36:07 +02:00
http.py web remove common, fix imports 2012-10-10 22:37:53 +02:00
nonliterals.py web remove common, fix imports 2012-10-10 22:37:53 +02:00
session.py web remove common, fix imports 2012-10-10 22:37:53 +02:00