odoo/addons/web/static
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
..
lib [IMP] added missing localization files 2012-10-15 18:35:27 +02:00
src [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 [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