wp-graphql / wp-graphql-tax-query

Adds `tax_query` support to postObject connection queries using WP_Query
46 stars 16 forks source link

Fix issue with array term value being overwritten #33

Closed davidjpetersen closed 1 year ago

davidjpetersen commented 2 years ago

The formatted terms needs to add brackets in order for the int value of the termID to be pushed to a new array item. Currently, the value of the formatted_term is overwritten for each term. This fixes that issue.

iamlili commented 2 years ago

Duplicate of PR 23

jasonbahl commented 1 year ago

closing as #23 was merged