Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 7c0c11f

Browse files
committed
Sort variations by menu_order
1 parent 657a72d commit 7c0c11f

File tree

1 file changed

+1
-1
lines changed
  • plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product

1 file changed

+1
-1
lines changed

plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ class ProductRestClient @Inject constructor(
944944
): WooPayload<List<WCProductVariationModel>> {
945945
val params = mutableMapOf(
946946
"per_page" to pageSize.toString(),
947-
"orderby" to "date",
947+
"orderby" to "menu_order",
948948
"order" to "asc",
949949
"offset" to offset.toString()
950950
).putIfNotEmpty("search" to searchQuery)

0 commit comments

Comments
 (0)