summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2016-09-20 17:53:43 +0200
committerJeremy Kersten <jke@odoo.com>2016-09-21 21:29:18 +0200
commitebbe98867e09be9a388c15586c32789f0d8c8407 (patch)
treeb54751bfe0efeebe670e25e0e162d5b67333db7b /addons/website/static/src/js/website.editor.js
parent3e5496340d500dd47ae579fe8bf74315560e32bc (diff)
[FIX] website: increase limit in searchpage for menu
In edit menu, search with de demo data /shop, was the 12th results, but limit 9. We only move the problem to later, but when the user start with the website apps, it avoid to be lost on first menu creation.
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
-rw-r--r--addons/website/static/src/js/website.editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js
index 1b32a52de69..8873703d790 100644
--- a/addons/website/static/src/js/website.editor.js
+++ b/addons/website/static/src/js/website.editor.js
@@ -204,7 +204,7 @@ widget.LinkDialog.include({
},
fetch_pages: function (term) {
return this.call('search_pages', [null, term], {
- limit: 9,
+ limit: 100,
context: base.get_context(),
});
},