In case of custom facet, specially for boolean fields the selected facet not highlighted.
See the following code snippet, the Online facet not highlighted:
'name': _('Course Status'),
It is my understanding that course discovery is owned by the Solutions team. FYI and .
BTW, as this is a bug fix, I would expect a test that fails without the fix and passes with the fix. But I don't have much context here about the feasibility of a test in this particular case.
This error occurred because facet data is Boolean field.
I my case, I want to search the course with fields as follows -
Online Course = True
Offline Course = False
So I was able to search the data, but the label get not highlighted. see the example below.
So I have resolved issue -
Thanks and Regards,
There is no active development on course discovery search right now, and the original author of this section of code is no longer working on Open edX. I suggest that and review this PR.
I can take a look at this PR as one of the reviewers.
how can i add new course discovery facet at openedx search ?