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 may have an issue where the entries it searches on includes non-active posts. #34

Closed
nyxtom opened this issue Mar 25, 2011 · 3 comments

Comments

@nyxtom
Copy link
Contributor

nyxtom commented Mar 25, 2011

48 entries = Entry.objects.all()

@sontek
Copy link
Collaborator

sontek commented Mar 25, 2011

OH NOES SECURITY BUG, MUST RELEASE NEW VERSION NOW!

@sontek sontek closed this as completed Mar 25, 2011
@nyxtom nyxtom reopened this Mar 25, 2011
@sontek
Copy link
Collaborator

sontek commented Mar 28, 2011

Ok, this looks like it was left over from before haystack was implemented. Its only doing Entry.objects.all() if you don't have a search defined but really it should always be searching from haystack indexes, it should never hit the database.

@sontek sontek closed this as completed Mar 28, 2011
@sontek sontek reopened this Mar 28, 2011
@sontek
Copy link
Collaborator

sontek commented Apr 6, 2011

Fixed it so it only pulls active, i'll create a new issue for only pulling from haystack.

@sontek sontek closed this as completed Apr 6, 2011
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

2 participants