Skip to content

Commit ee254c3

Browse files
authored
Merge pull request #286 from alexookah/fix-terms_order
Add orderby in Terms product order
2 parents 1aac7e7 + 5db2e52 commit ee254c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

woonuxt_base/app/queries/getProduct.gql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fragment ProductAttribute on ProductAttribute {
5555
label
5656
scope
5757
... on GlobalProductAttribute {
58-
terms {
58+
terms(where: { orderby: MENU_ORDER, order: ASC }) {
5959
nodes {
6060
name
6161
slug

0 commit comments

Comments
 (0)