[FIX] groupby groups fetching of their ancestor searchview
authorXavier Morel <xmo@openerp.com>
Tue, 12 Mar 2013 09:28:24 +0000 (10:28 +0100)
committerXavier Morel <xmo@openerp.com>
Tue, 12 Mar 2013 09:28:24 +0000 (10:28 +0100)
commit1899141b38d3f63ffa2383a4e427f2586ef4a285
treea4fb8d36ba506a3119727fba1d35e79155874e02
parentf053d2fb5b7d1a630a8be5ffa7f4f8da6b4592e1
[FIX] groupby groups fetching of their ancestor searchview

Implementation of invisibles in search view altered handling of search
inputs: their parent may not be the searchview anymore (usually is a
instance.web.search.Group). GroupbyGroup assumed parent was view and
was actually unused until
xmo@openerp.com-20130307124222-1ypzfopbktxmad4z, which exposed the
incorrect underlying assumption.

Make GroupbyGroup access its view when it wants its view, not its
parent.

bzr revid: xmo@openerp.com-20130312092824-z7sh4h3ityo4g00v
addons/web/static/src/js/search.js
addons/web/static/test/search.js