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

[BUG] search_mode_toggle_enabled() is not properly working when using get_search_fields() #114

Open
roniemartinez opened this issue Feb 1, 2024 · 0 comments

Comments

@roniemartinez
Copy link

DjangoQL does not work with autocomplete_fields when using get_search_fields() instead of the attribute search_fields.

This line in admin.py should be calling the self.get_search_fields() instead of self.search_fields:

return self.search_fields != DjangoQLSearchMixin.search_fields

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

No branches or pull requests

1 participant