diff options
| author | Jiten (OpenERP) <jra@tinyerp.com> | 2011-09-23 12:05:19 +0530 |
|---|---|---|
| committer | Jiten (OpenERP) <jra@tinyerp.com> | 2011-09-23 12:05:19 +0530 |
| commit | 83e37c378e6c9087139a344be4e83ed0b7880dff (patch) | |
| tree | b67209699eb935be0e628b5766d4d53b44898070 /addons/web_mobile/static/src | |
| parent | 0fe90a2bc3f3c3f1c75ae047a91611e41f0c6e53 (diff) | |
| parent | 2ad712d3569451c4d4a332fbcfac1122b79014af (diff) | |
[merge] some minor improvment from community to pass domain in listview.
bzr revid: jra@tinyerp.com-20110923063519-nn7ov6a4s7olwxvr
Diffstat (limited to 'addons/web_mobile/static/src')
| -rw-r--r-- | addons/web_mobile/static/src/js/list_mobile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_mobile/static/src/js/list_mobile.js b/addons/web_mobile/static/src/js/list_mobile.js index 250c0dad0c5..e4498ccbdd5 100644 --- a/addons/web_mobile/static/src/js/list_mobile.js +++ b/addons/web_mobile/static/src/js/list_mobile.js @@ -23,7 +23,7 @@ openerp.web_mobile.ListView = openerp.web.Widget.extend({ on_search_data: function(ev){ var self = this; var dataset = new openerp.web.DataSetStatic(this, this.action.res_model, this.action.context); - dataset.name_search('', [], 'ilike',false ,function(result){ + dataset.name_search('', this.action.domain, 'ilike', false, function(result){ self.$element.html(QWeb.render("ListView", {'records' : result})); self.$element.find("[data-role=header]").find('h1').html(self.action.name); self.$element.find("[data-role=header]").find('#home').click(function(){ |
