diff --git a/app.py b/app.py index 6750a90..039ef82 100644 --- a/app.py +++ b/app.py @@ -50,7 +50,7 @@ def list(): has_course = course is not None has_teacher = teacher is not None has_year = year is not None - ept = not (has_course or has_teacher or has_year) + ept = not (has_course or has_teacher or has_year) and 'page' not in request.args ps = Paper.query diff --git a/templates/list.html b/templates/list.html index 5c72308..04098d1 100644 --- a/templates/list.html +++ b/templates/list.html @@ -179,12 +179,10 @@