From e7d357098f2e4d53ea8c9d55d93c4b4782778937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 26 Jan 2023 14:55:50 +0100 Subject: [PATCH] Set correct limit/offset in search_count of Link a96bf0b0b065 adds limit to the search_count call but the argument position is wrong in the call for the Link widget. --- sao/src/view/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/view/form.js b/sao/src/view/form.js index ef17c89441..51588ab599 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -1042,7 +1042,7 @@ function eval_pyson(value){ 'method': ( 'model.' + action.res_model + '.search_count'), 'params': [ - ['AND', domain, 0, tab_domain], 100, context], + ['AND', domain, tab_domain], 0, 100, context], }, Sao.Session.current_session).then(value => { this._set_count( value, i, current, counter,