259
261
var remaining = groups.length - 1,
261
263
return $.when.apply(null, _.map(groups, function (group, index) {
262
264
var dataset = new instance.web.DataSetSearch(self, self.dataset.model,
263
265
new instance.web.CompoundContext(self.dataset.get_context(), group.model.context()), group.model.domain());
264
266
return dataset.read_slice(self.fields_keys.concat(['__last_update']), { 'limit': self.limit })
266
269
self.dataset.ids.push.apply(self.dataset.ids, dataset.ids);
267
270
groups_array[index] = new instance.web_kanban.KanbanGroup(self, records, group, dataset);