ReportTable: Add back in ids array generation. (https://github.com/woocommerce/woocommerce-admin/pull/2571)
This commit is contained in:
parent
995f26250e
commit
799d0266b1
|
@ -123,6 +123,7 @@ class ReportTable extends Component {
|
||||||
const { headers, ids, rows, summary } = applyFilters( TABLE_FILTER, {
|
const { headers, ids, rows, summary } = applyFilters( TABLE_FILTER, {
|
||||||
endpoint,
|
endpoint,
|
||||||
headers: getHeadersContent(),
|
headers: getHeadersContent(),
|
||||||
|
ids: itemIdField ? items.data.map( item => item[ itemIdField ] ) : [],
|
||||||
rows: getRowsContent( items.data ),
|
rows: getRowsContent( items.data ),
|
||||||
totals,
|
totals,
|
||||||
summary: getSummary ? getSummary( totals, totalResults ) : null,
|
summary: getSummary ? getSummary( totals, totalResults ) : null,
|
||||||
|
|
Loading…
Reference in New Issue