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 autocomplete_allow_unpublished attribute to target model to allow unpublished pages to be returned by search #135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tbock
Copy link

@tbock tbock commented Dec 20, 2022

This skips returning live and returns the base queryset instead.

@harrislapiroff
Copy link
Collaborator

Thanks, @tbock! We'll look over this feature soon.

Copy link
Collaborator

@SaptakS SaptakS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tbock the code mostly looks good to me. Can you also add documentation about this feature as part of this PR? You can find the list of things we usually need before merging a PR in our Contribution Guidelines

@pcraciunoiu
Copy link

Before finding this PR, I took another approach here: #182.

Happy to go with either approach and take this feature over the finish line, if anyone is willing to review it

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

Successfully merging this pull request may close these issues.

4 participants