ndb-core
ndb-core copied to clipboard
`groupBy` reports should use human-readable label
In the ReportRowComponent
the value description for missing values is without gender
or not active
. However the gender
and active
are the property IDs instead of the actual label of this property. This should be changed to the human readable label.
See https://github.com/Aam-Digital/ndb-core/blob/master/src/app/features/reporting/report-row.ts#L27
Also (and a bit more advanced), when grouping by a referenced entityId (e.g. the school a child is linked to), groupBy needs access to a sub-property of the grouped property to give a sensible displaying.
@TheSlimvReal , not possible yet, is it?
@sleidig no, this is also not possible with the JSON queries.
Closing this, as we are deprecating frontend-based reports in favor of the SQL-based Reporting API.