Convert page size to integer when reading from local storage

This commit is contained in:
malnvenshorn committed 2018-05-01 15:50:27 +02:00
1 parent 9d2ee2b55b
commit 735e2c6c94
1 file changed
+1 -1
+1 -1
View File
@@ -326,7 +326,7 @@ function ItemListHelper(listType, supportedSorting, supportedFilters, defaultSor
self._loadPageSizeFromLocalStorage = function() {
if (self._initializeLocalStorage) {
self.pageSize(localStorage[self.storageIds.pageSize]);
self.pageSize(parseInt(localStorage[self.storageIds.pageSize]));
}
}