[Resolved] filter in media not working properly
But filtering by media-category in media library does not work properly. It only shows one file or nothing and I have checked database and term relationships are ok, etc.
Any hint, is this normal or an identified bug?
Thanks in advance
Thank you for letting me know about the issue. I tested it and figured out that non-media (post) taxonomies’ sorting is not working properly in Media Library. I think, you might have a problem because of this. Please upgrade the plugin and let me know if the issue is gone.
I have just upgraded to 1.0.3 and filter is still not working properly. I am yet only testing with media-taxonomies (default media-categories) so I do not think it has something to do with that.
However filters when attaching/adding media in a post or page work perfectly well. It is only happening in Media Library and it’s quite strange because it shows 1 or 2 or 3 media files associated with an specific media-category but not all. It is quite confusing…
Thanks in advance with any help
Then, please, try deactivate all other plugins and check again. If you find a plugin that causes the conflict please let me know its name. Also you can try to change theme to any of WP default to check if the issue still be actual. It looks like something else affects WP query for media library page.
Any information? Is the issue still actual for you?
Ok, I will try to figure out what is conflicting with that page view specifically.
I expect to give you feedback in a couple of day…
Thank you Enrique. I am really willing to help you with it, it’s also a potential bug I could be unaware of, but I have to get some information about your conditions.
I’ve had a similar issue with filtering. On WP v3.7.1, and I’ve turned off all plugins.
I’ve noticed an issue with the url. It looks like
s&is appended to
/upload.php?that is preventing a successful filter.
Click Filter once (fail):
Clicking filter a second time (success):
This fail/success occurs with each subsequent “Filter” click.
Hope this helps.
Thank you for the information! So far I can’t get it. I just tested wp 3.7.1 again, and filter worked as expected with or without s& no matter how many times I pushed Filter button.
Are you still experiencing same issue with EML 1.0.3? Can you please describe your usual sequence of actions? What were you doing just before starting filtering your files?
Just installed this in a 3.8 site and get the same problem as others. The Filtering at the top of the Media page doesn’t work. It only shows 1 item when there are many others. However, if you go to the Categories page and click on the number of images against each category then you see a correctly filtered list.
I’ve removed this plugin now as it will only confuse people if it doesn’t work. But hope this helps you fix it.
Unfortunately I wasn’t able to reproduce the issue for WP 3.7, nor for WP 3.8. Nevertheless, I have re-coded the queries for Media Library filters, hope this will solve the problem.
Please let me know if the issue is gone in EML 1.0.4. Thanks in advance!
To Craig: I don’t think the plugin “doesn’t work”. According to your and others description, the taxonomy filter in Media Library doesn’t work properly for some users for unknown (so far) reason. It is not the only one, nor the main plugin’s feature. In addition you can turn this feature off.
1.0.4 on wordpress 3.8.
Still the “s&” kills the filtering, pressing filter button a second time fixes it, why don’t you just remove “s&” from the code?
Because, it’s standard WP request. EML doesn’t form it. Empty search string could break the query in NO way. Very strange issue…
Could you please give me an access to your website or assist a bit in testing queries for it? If so, please email me to wordpressuxsolutions [at] gmail [dot] com
I will be really grateful.
Also, could you please check your date filter (default filter before Media Category). It works in the same way as EML custom filters. Do you have similar problem with sorting by date? Thank you!
Date filtering acts same, broken first try, ok second.
Where should I send you the login info?
- The topic ‘[Resolved] filter in media not working properly’ is closed to new replies.