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.
This commit is contained in:
Cédric Krier
2023-01-26 14:55:50 +01:00
parent 556918f7c5
commit e7d357098f
+1 -1
View File
@@ -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,