File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ def search(request):
77
77
filters = {
78
78
"disciplines" : request .GET .getlist ("discipline" ),
79
79
"subdepartments" : request .GET .getlist ("subdepartment" ),
80
- "instructors" : request .GET .getlist ("instructor" ),
81
80
"weekdays" : (
82
81
request .GET .get ("weekdays" , "" ).split ("-" )
83
82
if request .GET .get ("weekdays" )
@@ -311,11 +310,6 @@ def apply_filters(results, filters):
311
310
subdepartment__mnemonic__in = filters .get ("subdepartments" )
312
311
)
313
312
314
- if filters .get ("instructors" ):
315
- results = results .filter (
316
- section__instructors__id__in = filters .get ("instructors" )
317
- )
318
-
319
313
weekdays = [day for day in filters .get ("weekdays" , []) if day ]
320
314
from_time = filters .get ("from_time" )
321
315
to_time = filters .get ("to_time" )
You can’t perform that action at this time.
0 commit comments