I have been trying to create custom search filters. I have an attribute called 'level' in my settings page in cms. I want level to be appearing in the Refine search catalog.
I am getting an error in my settings page in cms. This is what the log says :
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 45, in inner
return func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/json_request.py", line 52, in parse_json_into_request
return view_function(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 1005, in settings_handler
course_details = CourseDetails.fetch(course_key)
File "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/models/course_details.py", line 96, in fetch
course_details.level = descriptor.level
AttributeError: 'CourseDescriptorWithMixins' object has no attribute 'level'