[IMP] Preserve dataset ids order
bzr revid: fme@openerp.com-20121128171024-qpkn9oo48xa9n2j4
This commit is contained in:
parent
ac7695e1c9
commit
3196dbd84b
|
@ -647,7 +647,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({
|
||||||
'limit': self.view.limit,
|
'limit': self.view.limit,
|
||||||
'offset': self.dataset_offset += self.view.limit
|
'offset': self.dataset_offset += self.view.limit
|
||||||
}).then(function(records) {
|
}).then(function(records) {
|
||||||
self.view.dataset.ids = self.view.dataset.ids.concat(ids);
|
self.view.dataset.ids = ids.concat(self.view.dataset.ids);
|
||||||
self.do_add_records(records);
|
self.do_add_records(records);
|
||||||
self.compute_cards_auto_height();
|
self.compute_cards_auto_height();
|
||||||
return records;
|
return records;
|
||||||
|
|
Loading…
Reference in New Issue