We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88764b4 commit 5ba1e79Copy full SHA for 5ba1e79
naucse/utils/routes.py
@@ -28,7 +28,7 @@ def get_recent_runs(course):
28
this_year = today.year
29
for year, run_year in reversed(course.root.run_years.items()):
30
for run in run_year.runs.values():
31
- if not run.is_link() or does_course_return_info(run, ["start_date", "end_date"]):
+ if not run.is_link() or (forks_enabled() and does_course_return_info(run, ["start_date", "end_date"])):
32
if run.base_course is course and run.end_date > cutoff:
33
recent_runs.append(run)
34
0 commit comments