-
Notifications
You must be signed in to change notification settings - Fork 62
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
Media Library search not working #537
Comments
On the "grid" view for the Media Library in the admin (/wp-admin/upload.php?search=test), it is performating a JavaScript AJAX request to run the search. The request goes to /wp-admin/admin-ajax.php. Here is the payload for a search of "test": action: query-attachments |
The AJAX function being run is |
When I dig into the WP Query, here are the vars:
|
If I comment out the following filter, the search works. So I'm digging into this function. |
Here is all the info being passed to
|
I couldn't figure out the issue so for now I'm disabling Solr on the 'query-attachments' AJAX request. |
Hi! When the Solr plugin is activated on our site, the Media Library search does not work in the "Grid" view. It does work for list view. This site is on a multisite network.
I don't have any more info at this time. I will be doing some digging on my end and will report back.
But am wondering if you are aware of this issue or have seen it on other environments.
Thanks!
The text was updated successfully, but these errors were encountered: