Open bobbingwide opened 4 years ago
I'm not yet bothered about what happens if the table is paginated.
In the current implementation the totals apply to the rows actually displayed.
The logic works for the shortcode but doesn't work in the Dynamic Content block.
As soon as you attempt to add another parameter into the parameters field the
[bw_table]
shortcode reverts to displaying the default fields.
<!-- wp:oik/content-block {"shortcode":"bw_table",
"parameters":"fields=\u0022title,_oikth_template,_oikth_templates_count,_oikth_parts_count,_oikth_patterns_count,_oikth_type\u0022",
"post_type":"oik-themes","numberposts":70,"orderby":"title","order":"asc","format":""} /-->
Similar to bobbingwide/oik-bob-bing-wide/issues/32 I want to be able to use the
totals=
parameter on the[bw_table]
shortcode to be able to perform counts and sums of columns in a table.Example:
Ideally this functionality would also be available in any block that invokes the [bw_table] shortcode. This can come later.
I'm not yet bothered about what happens if the table is paginated.