From 4088857d67eb3e187de50c3a4336b7f5fef95309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 25 Jan 2016 10:23:20 +0100 Subject: [PATCH] Fix property naming for Fetcher to fix "Show more" dialog Closes #131 --- js/actions/edition_list_actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/actions/edition_list_actions.js b/js/actions/edition_list_actions.js index a52e32b9..9474a418 100644 --- a/js/actions/edition_list_actions.js +++ b/js/actions/edition_list_actions.js @@ -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.');