[FIX] OWP 593963 : limit results when opening "search more" as it's really slow when lot of records in database

bzr revid: acl@openerp.com-20130905092122-47ynnssvvvo4aef2
This commit is contained in:
Anael Closson 2013-09-05 11:21:22 +02:00
parent dc07d21f86
commit 1bd6608df9
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);
});
},