fix issue with pagination calculation

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233898 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-20 13:22:44 +00:00
parent ce410229ae
commit b7ba2ba7ef
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
ko.simpleGrid = {
// Defines a view model class you can use to populate a grid
viewModel: function (configuration) {
this.data = ko.observableArray(configuration.data);
this.data = configuration.data;
this.currentPageIndex = ko.observable(0);
this.pageSize = configuration.pageSize || 5;
this.columns = configuration.columns;