fix section
This commit is contained in:
@@ -43,7 +43,7 @@ def get(id):
|
|||||||
def get_articles(id):
|
def get_articles(id):
|
||||||
v=request.values
|
v=request.values
|
||||||
pp,o=article_controller.pagination_params(v) # extract per_page and offset from params
|
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 = jsonify(articles=articles)
|
||||||
resp.headers['Pagination-Limit']=pp
|
resp.headers['Pagination-Limit']=pp
|
||||||
|
|||||||
Reference in New Issue
Block a user