You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I was using highlight mixin, I found that some arguments like 'page=2' were highlighted and I had no choice but rewrite the to_presentation method. Due to #126 , I cannot use SearchQuerySet.highlight() and rewrite the get_request_filters method. Could you please add a field for remove some argument of highlight mixin?
Here is some information.
Django==1.11
django-haystack==2.8.1
djangorestframework==3.8.2
drf-haystack==1.8.2
The text was updated successfully, but these errors were encountered:
seems i‘m too late,I have the same issue,i fixed it just replace ret["highlighted"] = instance.highlighted[0] to ret["highlighted"] = instance.highlighted["text"].
when I was using highlight mixin, I found that some arguments like 'page=2' were highlighted and I had no choice but rewrite the to_presentation method. Due to #126 , I cannot use SearchQuerySet.highlight() and rewrite the get_request_filters method. Could you please add a field for remove some argument of highlight mixin?
Here is some information.
Django==1.11
django-haystack==2.8.1
djangorestframework==3.8.2
drf-haystack==1.8.2
The text was updated successfully, but these errors were encountered: