Fix property naming for Fetcher to fix "Show more" dialog

Closes #131
This commit is contained in:
Tim Daubenschütz 2016-01-25 10:23:20 +01:00
parent 6821ab9e44
commit 4088857d67
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class EditionListActions {
return Q.Promise((resolve, reject) => {
EditionListFetcher
.fetch({ pieceId, page, itemsToFetch, orderBy, orderAsc, filterBy })
.fetch({ pieceId, page, orderBy, orderAsc, filterBy, pageSize: itemsToFetch })
.then((res) => {
if (res && !res.editions) {
throw new Error('Piece has no editions to fetch.');