Foxy / foxy-elements

Elements and resources for use in other front-end code, like the admin and customer portal.
https://elements.foxy.dev
MIT License
7 stars 8 forks source link

`foxy-query-builder`: check filter for item options #133

Closed rijarobinson closed 10 months ago

rijarobinson commented 11 months ago

Product Option Value filter on Transactions does not result in the expected subset of data, but shows all transactions. An example request is sent like this:

?items:item_options[color]=*r*&zoom=items&limit=20&order=transaction_date+desc

I believe it needs to be

?items:item_options:name[color]=*r*&zoom=items,items:item_options&limit=20&order=transaction_date+desc

This works when querying the API directly. For reference: https://api.foxycart.com/docs/cheat-sheet under Name/Value Pairs