You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a custom taxonomy in Pods called "Graduation Years". Then I'm assigning my users to different terms of this taxonomy (e.g. 1900, 1940, 1941, etc.).
When I list my users in the frontend categorized by Graduation Year, everything works fine, I can see all of them.
However, when I go to the WP Dashboard and enter the Graduation Year taxonomy page, then click on a term, I only see some but not all of the users associated with this term.
For example, when I go to the Users page in the WP Dashboard, I see there are 5 users in the 1941 Graduation Year:
However when I enter the 1941 term, I only see 3 users:
I compared these users information/configuration and all of them have exactly the same configuration, same role, etc. No differences between them except for their individual data like email, name, etc.
It's important to note that it happens with all the terms, not only the "1941" in the example above.
@nelsonamaya82 Is it possible that you added the bidirectional relationship setting on either sides of the relationship fields after content had already been saved for one of them?
@sc0ttkclark I'm not sure if that was set after content had already been saved as other devs were working on it before me. If that were the case, how can I validate it or how can I fix it?
The issue here appears to be that the bidirectional relationship was set up after data existed on either side of the relationship. As a result, those items were not 'connected' in the DB as bidirectional. Re-saving the existing items will sync this up or you can run queries like those below. I believe I found an area in the code which needs to be adjusted for this so I will keep this issue open to work on that.
Relationship Field A
UPDATE wp_podsrel SET related_pod_id =111, related_field_id =222WHERE field_id =333
related_pod_id should be the pod ID of Relationship Field B
related_field_id should be the field ID of Relationship Field B
field_id should be the field ID of Relationship Field A
Relationship Field B (the other side of the bidirectional relationship)
UPDATE wp_podsrel SET related_pod_id =444, related_field_id =333WHERE field_id =111
related_pod_id should be the pod ID of Relationship Field A
related_field_id should be the field ID of Relationship Field A
field_id should be the field ID of Relationship Field B
Description
I created a custom taxonomy in Pods called "Graduation Years". Then I'm assigning my users to different terms of this taxonomy (e.g. 1900, 1940, 1941, etc.).
When I list my users in the frontend categorized by Graduation Year, everything works fine, I can see all of them.
However, when I go to the WP Dashboard and enter the Graduation Year taxonomy page, then click on a term, I only see some but not all of the users associated with this term.
For example, when I go to the Users page in the WP Dashboard, I see there are 5 users in the 1941 Graduation Year:
However when I enter the 1941 term, I only see 3 users:
I compared these users information/configuration and all of them have exactly the same configuration, same role, etc. No differences between them except for their individual data like email, name, etc.
It's important to note that it happens with all the terms, not only the "1941" in the example above.
Version
3.2.7
Testing Instructions
No response
Screenshots / Screencast
No response
Possible Workaround
No response
Site Health Information
Pods Package
The text was updated successfully, but these errors were encountered: