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

Exclude non-searchable post types from facet post types. #3386

Merged
merged 3 commits into from
Mar 20, 2023

Conversation

JakePT
Copy link
Contributor

@JakePT JakePT commented Mar 10, 2023

Description of the Change

Fixes an issue where Instant Results facets have post types that are not publicly searchable, which causes an error when Instant Results attempts to print the labels for those post types, as only labels for publicly searchable post types are provided.

How to test the Change

Changelog Entry

Fixed - An issue where Instant Results would crash when using taxonomies as facets that are attached to both searchable and non-searchable post types.

Credits

Props @JakePT

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@JakePT JakePT self-assigned this Mar 10, 2023
@JakePT JakePT requested a review from felipeelia March 14, 2023 13:27
@JakePT JakePT added bug Something isn't working module:instant-results Issues related to the Instant Results functionality labels Mar 14, 2023
@JakePT JakePT assigned felipeelia and unassigned JakePT Mar 14, 2023
@felipeelia felipeelia added this to the 5.0.0 milestone Mar 20, 2023
@felipeelia felipeelia merged commit 0f32025 into develop Mar 20, 2023
@felipeelia felipeelia deleted the fix/post-type-labels branch March 20, 2023 16:51
@felipeelia felipeelia modified the milestones: 5.0.0, 4.5.1 Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:instant-results Issues related to the Instant Results functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants