Allow for larger result sets of attribute terms (https://github.com/woocommerce/woocommerce-admin/pull/6077)

This commit is contained in:
Sam Seay 2021-01-18 09:49:32 +13:00 committed by GitHub
parent 2f1946b408
commit 35a448a8f3
2 changed files with 4 additions and 1 deletions

View File

@ -112,7 +112,7 @@ const AttributeFilter = ( props ) => {
}
setAttributeTerms( false );
apiFetch( {
path: `/wc-analytics/products/attributes/${ selectedAttribute[ 0 ].key }/terms`,
path: `/wc-analytics/products/attributes/${ selectedAttribute[ 0 ].key }/terms?per_page=100`,
} )
.then( ( terms ) =>
terms.map( ( { id, name } ) => ( {

View File

@ -72,8 +72,11 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
3. Analytics
== Unreleased ==
- Fix: allow for more terms to be shown for product attributes in the Analytics orders report. #5868
- Tweak: update the content and timing of the NeedSomeInspiration note. #6076
== Changelog ==
== 1.9.0 1/15/2021 ==