[FIX] web: instance.web.DataSetSearch.get_domain() returns the domain.
authorChristophe Simonis <chs@openerp.com>
Tue, 5 Nov 2013 12:18:43 +0000 (13:18 +0100)
committerChristophe Simonis <chs@openerp.com>
Tue, 5 Nov 2013 12:18:43 +0000 (13:18 +0100)
lp bug: https://launchpad.net/bugs/1195631 fixed

bzr revid: chs@openerp.com-20131105121843-rqplhk83fczxww0t

addons/web/static/src/js/data.js

index e535be2..bb658a2 100644 (file)
@@ -724,7 +724,7 @@ instance.web.DataSetSearch =  instance.web.DataSet.extend({
         });
     },
     get_domain: function (other_domain) {
-        this._model.domain(other_domain);
+        return this._model.domain(other_domain);
     },
     alter_ids: function (ids) {
         this._super(ids);