This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Featured Product Block Search is Broken #4983
Labels
block: featured product
Issues related to the Featured Product block.
type: bug
The issue/PR concerns a confirmed bug.
type: good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
Describe the bug
On a store with a large number (+100) products, search appears to be broken when using the Featured Product Block. On a smaller catalog you can simulate this by editing the values in:
https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/5f34c86072936ac908a93c49881775d21df69a6a/assets/js/editor-components/utils/index.js#L19
To reproduce
Steps to reproduce the behaviour:
search=&
in it.Expected behaviour
It should do the query and return the filtered results.
This was reported here: https://wordpress.org/support/topic/feature-product-not-wordking-correcly/ I reproduced it locally.
The text was updated successfully, but these errors were encountered: