Skip to content
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

Relationship metadata: choose only one metadata to search for #311

Closed
leogermani opened this issue Oct 2, 2019 · 0 comments
Assignees

Comments

@leogermani
Copy link
Contributor

@leogermani leogermani commented Oct 2, 2019

When you configure a relationship metadata, you can choose in which metadata you will search for items in the related collection.

Nowadays you can choose more than one metadata but taxonomies are excluded. That happens because when merging a meta_query with a tax_query, WordPress use a AND logical operator between these two queries. See #236 for more information.

We decided to allow the user to choose only one metadatum in the target collection to search for items. This way, we can bring back the taxonomies.

Also, we will evaluate the possibility to add another option to the metadata to choose which field should be displayed when listing the related items.

@leogermani leogermani created this issue from a note in tainacan/tainacan (To Do) Oct 2, 2019
@leogermani leogermani self-assigned this Oct 2, 2019
leogermani added a commit that referenced this issue Oct 2, 2019
@leogermani leogermani moved this from To Do to In Progress in tainacan/tainacan Oct 8, 2019
leogermani added a commit that referenced this issue Oct 10, 2019
@leogermani leogermani moved this from In Progress to Validation in tainacan/tainacan Oct 11, 2019
leogermani added a commit that referenced this issue Oct 11, 2019
leogermani added a commit that referenced this issue Oct 22, 2019
@leogermani leogermani moved this from Validation to Done in tainacan/tainacan Oct 24, 2019
@leogermani leogermani closed this Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1 participant
You can’t perform that action at this time.