[MERGE] view form: reduce the number of result in 'search more' view opening to 160 records (performances improvement, not filtering every possible record) (opw 593963)

bzr revid: mat@openerp.com-20131113082806-me6uy7cjj6holn56
This commit is contained in:
Martin Trigaux 2013-11-13 09:28:06 +01:00
parent 4231970c8a
commit 8c3cdce539
1 changed files with 1 additions and 1 deletions

View File

@ -2934,7 +2934,7 @@ instance.web.form.CompletionFieldMixin = {
values.push({
label: _t("Search More..."),
action: function() {
dataset.name_search(search_val, self.build_domain(), 'ilike', false).done(function(data) {
dataset.name_search(search_val, self.build_domain(), 'ilike', 160).done(function(data) {
self._search_create_popup("search", data);
});
},