Closed vgkids closed 9 months ago
Before Rendering a report with a group that contains no results crashes:
undefined method `meta' for nil:NilClass return registers.first.meta.values + ["register_id"] ^^^^^
After Limited to a single register, nice clean No Results message.
Pulling from multiple registers with non-matching columns correctly refuses to render:
Panel Options used for testing. Note that income_account is a valid group_by arg for the register.
income_account
{ "options": { "title": "Sum, Group by Income Account", "full_width": false, "countFormat": { "args": { "places": 2 }, "type": "money" }, "data_source": { "args": { "path": "reports/item_sum", "group_by": [ "income_account" ] }, "type": "trivial-api" }, "display_total": true }, "component": "HeadlineTable" }
Before Rendering a report with a group that contains no results crashes:
After Limited to a single register, nice clean No Results message.
Pulling from multiple registers with non-matching columns correctly refuses to render:
Panel Options used for testing. Note that
income_account
is a valid group_by arg for the register.