Skip to content

Commit d2f63c9

Browse files
authored
Merge pull request #14766 from woocommerce/issue/woomob-1520-woo-poslocal-catalog-remove-orderby-parameter-from-requests
Remove buggy orderby parameter
2 parents a1d087d + 268e550 commit d2f63c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libs/fluxc-plugin/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/pos/WooPosProductRestClient.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ class WooPosProductRestClient @Inject constructor(
6969
"per_page" to pageSize.toString(),
7070
"page" to page.toString(),
7171
"_fields" to VARIATIONS_FIELDS,
72-
"orderby" to "modified",
7372
).also {
7473
if (modifiedAfter.isNullOrBlank().not()) {
7574
it["modified_after"] = modifiedAfter
@@ -157,7 +156,6 @@ class WooPosProductRestClient @Inject constructor(
157156
"per_page" to pageSize.toString(),
158157
"offset" to offset.toString(),
159158
"_fields" to fields,
160-
"orderby" to "modified",
161159
).also {
162160
modifiedAfter?.let { modified ->
163161
it["modified_after"] = modified

0 commit comments

Comments
 (0)