All Topics
The use of pre_get_post brakes admin columns filters or searches
Dear all,
I have an issue regarding the searches and queries on a specific Custom Post Type made by specific groups of users.
Those groups, visualize thru a pre_get_post a specific subset of the entire dataset (in this case filtering a specific value depending by the group, group A filter city A, group B shows post only from city B and so on).
Unfortunately the use of the pre_get reset entirely any kind of query of filter made by the user.
There is any advice or solution that could help me solve this issue.
thank you
Stefano
You must be logged in to reply to this topic.