aboutsummaryrefslogtreecommitdiff
path: root/client/js/controllers/post_list_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/controllers/post_list_controller.js')
-rw-r--r--client/js/controllers/post_list_controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/js/controllers/post_list_controller.js b/client/js/controllers/post_list_controller.js
index 443e25d..a7a5793 100644
--- a/client/js/controllers/post_list_controller.js
+++ b/client/js/controllers/post_list_controller.js
@@ -129,8 +129,8 @@ class PostListController {
return uri.formatClientLink('posts', parameters);
},
requestPage: (offset, limit) => {
- return PostList.search(
- this._ctx.parameters.query, offset, limit, fields, this._ctx.parameters.cachenumber);
+ let query = uri.getPostsQuery(this._ctx.parameters);
+ return PostList.search(query, offset, limit, fields, this._ctx.parameters.cachenumber);
},
pageRenderer: pageCtx => {
Object.assign(pageCtx, {

© 2015 - 2026 Jakob L. Kreuze