diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-08-19 16:59:29 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-08-19 16:59:29 +0200 |
| commit | bc1a0a32ca80aaadd52e66115fe9c9ad4b26c2e0 (patch) | |
| tree | e2ca10dde39d78301e100c76a76f3ab86fd509f3 /addons/web/static/src/js/framework | |
| parent | 2331bbf4b05d9e9f2ad5e56814ad440683882e3d (diff) | |
| parent | 58cbcbae318f613c0e8239fbcfea59d0c3c33612 (diff) | |
[MERGE] forward port branch 9.0 up to 58cbcba
Diffstat (limited to 'addons/web/static/src/js/framework')
| -rw-r--r-- | addons/web/static/src/js/framework/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/framework/data.js b/addons/web/static/src/js/framework/data.js index 3e9396a4e96..60df888ea1d 100644 --- a/addons/web/static/src/js/framework/data.js +++ b/addons/web/static/src/js/framework/data.js @@ -688,7 +688,7 @@ var DataSetSearch = DataSet.extend({ .limit(options.limit || false); q = q.order_by.apply(q, this._sort); - return q.all().done(function (records) { + return this.orderer.add(q.all()).done(function (records) { // FIXME: not sure about that one, *could* have discarded count q.count().done(function (count) { self._length = count; }); self.ids = _(records).pluck('id'); |
