summaryrefslogtreecommitdiff
path: root/addons/process/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-10-18 14:40:05 +0200
committerXavier Morel <xmo@openerp.com>2012-10-18 14:40:05 +0200
commitf910bc67804e185e486a8355b8ba329942a5c0eb (patch)
tree2ed33c31615567510ac3c067f3d7ebc3e318130e /addons/process/static/src/xml
parent8b2a07eb558af71a5132b748b34e4938fad227c3 (diff)
[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
Diffstat (limited to 'addons/process/static/src/xml')
0 files changed, 0 insertions, 0 deletions