diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-11-13 11:18:24 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-11-13 11:18:24 +0100 |
| commit | 122ddb8e310df0a4cfd597cb49cbe8863f862d8b (patch) | |
| tree | b32ac9bf8a4ad8a5b08eeecf77e8e0e18a7345a4 /addons/website/static/src | |
| parent | 9ca2b8e8e0c28a0b04b1ef953664a1af5e15b8a5 (diff) | |
[IMP] rename list_pages to enumerate_pages, add a search method and a basic non-contiguous substring match
bzr revid: xmo@openerp.com-20131113101824-uqatvqokkzhvi0ei
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index 5915ee5b359..af5763b9500 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -930,9 +930,10 @@ fetch_pages: function () { return openerp.jsonRpc('/web/dataset/call_kw', 'call', { model: 'website', - method: 'list_pages', + method: 'search_pages', args: [null], kwargs: { + limit: 10, context: website.get_context() }, }); |
