Skip to content

fix/4191: Search template generation when Post Search feature is disabled#4297

Open
Sidsector9 wants to merge 2 commits intodevelopfrom
fix/4191
Open

fix/4191: Search template generation when Post Search feature is disabled#4297
Sidsector9 wants to merge 2 commits intodevelopfrom
fix/4191

Conversation

@Sidsector9
Copy link
Copy Markdown
Member

Description of the Change

Instant Results failed to generate a search template when the Post Search feature was disabled. The Post indexable was never activated, so the query in get_search_template() fell back to MySQL instead of Elasticsearch and no template was captured.

Closes #4191

How to test the Change

Changelog Entry

Fixed - Search template generation when Post Search feature is disabled

Credits

Props @burhandodhy @Sidsector9

Checklist:

@Sidsector9 Sidsector9 self-assigned this Mar 1, 2026
@Sidsector9 Sidsector9 requested a review from felipeelia March 1, 2026 18:17
@felipeelia
Copy link
Copy Markdown
Member

Wouldn't it make more sense to make Instant Results dependent on the Post Search feature?

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.

BUG: Instant Results template doesn’t generate when Post Search feature is disabled

2 participants