From ec0773b07f3ecf2390f10702c60f66ba873f50a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81sar=20Vargas=20Casaseca?= Date: Wed, 4 Dec 2024 11:04:44 +0100 Subject: [PATCH] Consider also the global unique id query when sending the payload --- .../fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt b/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt index ac73e54021..821c379a5f 100644 --- a/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt +++ b/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt @@ -454,7 +454,7 @@ class ProductRestClient @Inject constructor( val loadedMore = offset > 0 val canLoadMore = productModels.size == pageSize - if (searchQuery == null) { + if (searchQuery == null && globalUniqueIdSearchQuery == null) { val payload = RemoteProductListPayload( site, productModels,