Skip to content

Add autocomplete_allow_unpublished attribute to target model to allow unpublished pages to be returned by search#135

Open
tbock wants to merge 1 commit into
wagtail:mainfrom
Innovate-Inc:allow_unpublished_in_search
Open

Add autocomplete_allow_unpublished attribute to target model to allow unpublished pages to be returned by search#135
tbock wants to merge 1 commit into
wagtail:mainfrom
Innovate-Inc:allow_unpublished_in_search

Conversation

@tbock

@tbock tbock commented Dec 20, 2022

Copy link
Copy Markdown

This skips returning live and returns the base queryset instead.

@harrislapiroff

Copy link
Copy Markdown
Collaborator

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

@SaptakS SaptakS left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Contributor

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