modify pager widget to handle boundary conditions; now takes a Dataset instead of a Query so that it has access to the record count; add tests

This commit is contained in:
kielni
2014-01-17 13:07:41 -08:00
parent 45fa438803
commit 8c1a1359db
5 changed files with 120 additions and 11 deletions

View File

@@ -143,7 +143,7 @@ var SearchView = Backbone.View.extend({
this.el.find('.sidebar').append(view.el);
var pager = new recline.View.Pager({
model: this.model.queryState
model: this.model
});
this.el.find('.pager-here').append(pager.el);