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

search after clicking the magnifying glass on a raw_id_field breaks raw_id_field #190

Closed
fyaconiello opened this issue Jan 31, 2014 · 6 comments

Comments

@fyaconiello
Copy link

  1. Screen w/ raw_id_fields

screen shot 2014-01-31 at 10 44 53 am

  1. clicking the magnifying glass to search for a FK object

screen shot 2014-01-31 at 10 45 14 am

notice that this is not a regular change list screen

  1. after searching on the popup, it ignores the search, takes you out of the special raw_id_field popup and puts you in a regular list change screen:

screen shot 2014-01-31 at 10 45 26 am

@fyaconiello
Copy link
Author

I got around this issue by using django autocomplete light (https://github.com/yourlabs/django-autocomplete-light)

@darklow
Copy link
Owner

darklow commented Feb 13, 2014

I am using raw_id_fields a lot and haven't noticed such problem.
Please post your Python ad Django versions.

@fyaconiello
Copy link
Author

Python 2.7.2
Django==1.6.1
django-suit==0.2.5

As a follow up, I can use the raw_id_field as long as I don't search on the "selection" screen popup. Searching redirects me out to a regular list view instead of a filtered "selection" screen.

@darklow
Copy link
Owner

darklow commented Feb 14, 2014

Just relased v0.2.6 with the fix ;)

pip install -U django-suit

@fyaconiello
Copy link
Author

thanks for the speed.

@adamfast
Copy link

This fix in 0.2.7 doesn't work with Django 1.4, does work with 1.5 (don't have a 1.6 to test with)

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

3 participants