Skip to content

Commit

Permalink
Merge pull request #22 from hbrunn/7.0-lp1303829
Browse files Browse the repository at this point in the history
[FIX] don't mess with the dataset's ids
  • Loading branch information
pedrobaeza committed Oct 17, 2014
2 parents 88c6484 + c751b6d commit 747ea8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions addons/web_kanban/static/src/js/kanban.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,12 +642,10 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({
},
do_show_more: function(evt) {
var self = this;
var ids = self.view.dataset.ids.splice(0);
return this.dataset.read_slice(this.view.fields_keys.concat(['__last_update']), {
'limit': self.view.limit,
'offset': self.dataset_offset += self.view.limit
}).then(function(records) {
self.view.dataset.ids = ids.concat(self.dataset.ids);
self.do_add_records(records);
self.compute_cards_auto_height();
self.view.postprocess_m2m_tags();
Expand Down

0 comments on commit 747ea8f

Please sign in to comment.