client/settings: add posts per page option

This commit is contained in:
rr-
2016-08-05 20:00:07 +02:00
parent 9383fd2b27
commit 9304e309f6
7 changed files with 16 additions and 3 deletions

View File

@ -29,7 +29,7 @@ class PostListController {
requestPage: page => {
return PostList.search(
this._decorateSearchQuery(ctx.parameters.query),
page, 40, fields);
page, settings.get().postsPerPage, fields);
},
headerRenderer: headerCtx => {
Object.assign(headerCtx, {