ReportTable: Add back in ids array generation. (https://github.com/woocommerce/woocommerce-admin/pull/2571)

This commit is contained in:
Timmy Crawford 2019-07-05 07:12:32 -07:00 committed by GitHub
parent 995f26250e
commit 799d0266b1
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ class ReportTable extends Component {
const { headers, ids, rows, summary } = applyFilters( TABLE_FILTER, {
endpoint,
headers: getHeadersContent(),
ids: itemIdField ? items.data.map( item => item[ itemIdField ] ) : [],
rows: getRowsContent( items.data ),
totals,
summary: getSummary ? getSummary( totals, totalResults ) : null,