ndb-core icon indicating copy to clipboard operation
ndb-core copied to clipboard

`groupBy` reports should use human-readable label

Open TheSlimvReal opened this issue 2 years ago • 3 comments

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.

TheSlimvReal avatar Feb 14 '23 10:02 TheSlimvReal

See https://github.com/Aam-Digital/ndb-core/blob/master/src/app/features/reporting/report-row.ts#L27

TheSlimvReal avatar Feb 14 '23 10:02 TheSlimvReal

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 avatar Feb 08 '24 17:02 sleidig

@sleidig no, this is also not possible with the JSON queries.

TheSlimvReal avatar Feb 09 '24 13:02 TheSlimvReal

Closing this, as we are deprecating frontend-based reports in favor of the SQL-based Reporting API.

sleidig avatar Sep 06 '24 14:09 sleidig