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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user