From e3c09974c7354f4845ca0718927038c578619d62 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Thu, 26 Jan 2017 16:14:50 +0100 Subject: [PATCH] fix section --- sections/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/views.py b/sections/views.py index 0f78ddd..e3a753d 100644 --- a/sections/views.py +++ b/sections/views.py @@ -43,7 +43,7 @@ def get(id): def get_articles(id): v=request.values pp,o=article_controller.pagination_params(v) # extract per_page and offset from params - articles=controller.get_section_page(id,pp,o) + articles=article_controller.get_section_page(id,pp,o) resp = jsonify(articles=articles) resp.headers['Pagination-Limit']=pp