Hello, My name is Apollinaire and i would like to know if youcould solve your problem about yo "adding custom search filter". I don't know how to add custum search filter in the Refine search catalog and i need a help to do that. Thanks!
Le vendredi 17 juin 2016 17:24:53 UTC, Sheetal a écrit : > > Hi Guys, > 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' > > > > How can i resolve this issue? > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/45bc9b90-614b-48a6-988b-5414e691d845%40googlegroups.com.
