BUG: Issue with WordPress Default Media Attachment PDF Search Functionality via WP AJAX #4004
Open
1 task done
Labels
bug
Something isn't working
Describe the bug
I am experiencing an issue when performing keyword searches via AJAX in the default WordPress media attachment PDFs. Specifically, when using the WP_Query with ElasticPress integration, the search results do not appear in the AJAX callback. However, the same query works correctly when the page is reloaded. This is specific for attachment post
Could you please assist in resolving this issue or provide guidance on how to troubleshoot the AJAX search functionality with ElasticPress?
I added ajax function code for your reference.
Thank you for your support.
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: