Allow for larger result sets of attribute terms (https://github.com/woocommerce/woocommerce-admin/pull/6077)
This commit is contained in:
parent
2f1946b408
commit
35a448a8f3
|
@ -112,7 +112,7 @@ const AttributeFilter = ( props ) => {
|
||||||
}
|
}
|
||||||
setAttributeTerms( false );
|
setAttributeTerms( false );
|
||||||
apiFetch( {
|
apiFetch( {
|
||||||
path: `/wc-analytics/products/attributes/${ selectedAttribute[ 0 ].key }/terms`,
|
path: `/wc-analytics/products/attributes/${ selectedAttribute[ 0 ].key }/terms?per_page=100`,
|
||||||
} )
|
} )
|
||||||
.then( ( terms ) =>
|
.then( ( terms ) =>
|
||||||
terms.map( ( { id, name } ) => ( {
|
terms.map( ( { id, name } ) => ( {
|
||||||
|
|
|
@ -72,8 +72,11 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
|
||||||
3. Analytics
|
3. Analytics
|
||||||
|
|
||||||
== Unreleased ==
|
== 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
|
- Tweak: update the content and timing of the NeedSomeInspiration note. #6076
|
||||||
|
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
== 1.9.0 1/15/2021 ==
|
== 1.9.0 1/15/2021 ==
|
||||||
|
|
Loading…
Reference in New Issue