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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user