diff --git a/plugins/woocommerce-admin/client/marketplace/components/content/content.tsx b/plugins/woocommerce-admin/client/marketplace/components/content/content.tsx index 0f3f23d3a75..d17a03d1fec 100644 --- a/plugins/woocommerce-admin/client/marketplace/components/content/content.tsx +++ b/plugins/woocommerce-admin/client/marketplace/components/content/content.tsx @@ -160,13 +160,13 @@ export default function Content(): JSX.Element { if ( query.term ) { setSearchResultsCount( { - extensions: productList.filter( + extensions: productList.products.filter( ( p ) => p.type === 'extension' ).length, - themes: productList.filter( + themes: productList.products.filter( ( p ) => p.type === 'theme' ).length, - 'business-services': productList.filter( + 'business-services': productList.products.filter( ( p ) => p.type === 'business-service' ).length, } ); @@ -202,6 +202,7 @@ export default function Content(): JSX.Element { setIsLoading, query?.section, page, + setSearchResultsCount, ] ); const getProductType = ( tab: string ): ProductType => {