Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filter for highlight mixin #133

Open
Mr-win7 opened this issue Oct 17, 2018 · 5 comments
Open

add filter for highlight mixin #133

Mr-win7 opened this issue Oct 17, 2018 · 5 comments
Assignees

Comments

@Mr-win7
Copy link

Mr-win7 commented Oct 17, 2018

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

@atmishra
Copy link

Can I work on this?

@rhblind
Copy link
Owner

rhblind commented Oct 21, 2019

Absolutely 😁

@atmishra
Copy link

Thanks! Can you assign it to me? I have started working on this.

@ajiteshr7
Copy link
Contributor

Is this WIP? or abandoned?

@jysatuo
Copy link

jysatuo commented Jul 12, 2021

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"].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants