Rewrite prev/next test to use BeautifulSoup

This commit is contained in:
Chris Hill-Scott
2016-08-05 11:33:32 +01:00
parent b85b929b11
commit 652534533b
2 changed files with 16 additions and 5 deletions

View File

@@ -172,7 +172,7 @@ def view_notifications(service_id, message_type):
limit_days=current_app.config['ACTIVITY_STATS_LIMIT_DAYS'])
view_dict = dict(
message_type=message_type,
status=filter_args['status']
status=request.args.get('status')
)
prev_page = None
if notifications['links'].get('prev', None):