We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d4804a commit 180d6abCopy full SHA for 180d6ab
tcf_website/views/search.py
@@ -198,13 +198,9 @@ def filter_courses(filters):
198
from_time = filters.get("from_time")
199
to_time = filters.get("to_time")
200
201
- print("DEBUG TIME FILTERS")
202
- print(weekdays, from_time, to_time)
203
if any([weekdays, from_time, to_time]):
204
time_filtered = Course.filter_by_time(days=weekdays, start_time=from_time, end_time=to_time)
205
results = results.filter(id__in=time_filtered.values_list("id", flat=True))
206
- print(results)
207
- print("DEBUG TIME FILTERED")
208
209
results = results.distinct().order_by("subdepartment__mnemonic", "number")
210
0 commit comments