diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-08-20 16:57:36 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-08-20 16:57:36 +0200 |
| commit | 3a2147d95c8005ab7c1dbe4d94315e404ea5e5f9 (patch) | |
| tree | 98b5b79e5f866a64849f349119e0855f6da5d7ff /addons/web/static/src/js/framework | |
| parent | 99215a02c61ca8c470931955225e5db1cd402d43 (diff) | |
| parent | bc1a0a32ca80aaadd52e66115fe9c9ad4b26c2e0 (diff) | |
[MERGE] forward port branch saas-10 up to bc1a0a3
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 e969616e7b6..008a9e879dc 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'); |
