-
Notifications
You must be signed in to change notification settings - Fork 468
Taxonomy called "location" causes menuItems not to work #2409
Copy link
Copy link
Closed
Labels
component: queryRelating to GraphQL QueriesRelating to GraphQL Queriesobject type: menuRelating to the Menu or MenuItem TypeRelating to the Menu or MenuItem Typetype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Hello everyone,
I don't know if this is the place to publish this, but I've just come across the following problem and finally learned why.
In my installation I had a custom taxonomy with a slug of "location" which caused this query to return an empty array.
menuItems(where:{location:PRIMARY_MENU}) {
nodes {
id
}
}When I changed the slug of the taxonomy, everything worked again.
Just in case someone has the same problem :)
Cheers everyone
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: queryRelating to GraphQL QueriesRelating to GraphQL Queriesobject type: menuRelating to the Menu or MenuItem TypeRelating to the Menu or MenuItem Typetype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior