Skip to content

Commit f908c3a

Browse files
Fix new flag form on class search page
At some point the list of flag types was no longer getting passed through to the context, so the list of options on the new flag form was empty.
1 parent 5e11257 commit f908c3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp/esp/program/modules/handlers/classsearchmodule.py

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def classsearch(self, request, tl, one, two, module, extra, prog):
112112
'queryset': queryset,
113113
'english': english,
114114
'program': self.program,
115+
'flag_types': self.program.flag_types.all(),
115116
}
116117
return render_to_response(self.baseDir()+'search_results.html',
117118
request, context)

0 commit comments

Comments
 (0)