Data ID in analytics table layout

Hi devs,
it looks like in 2.22 and 2.23, the data id is not included for dataelementoperands/data elements with disaggregations in analytics results when using table layout. Is this a bug? Would be good if it could be brought back (it was there prior to 2.22).

If making the below request, the first column in the data results (rows) is empty, while it would have been s46m5MS0hxu (or s46m5MS0hxu.Prlt0C1RF0) in previous versions. I understand that the code and description columns becomes difficult, but for dataelementoperands there is already a “valid” ID format that could be used, i.e. dataelementid.categoryoptioncomboid? Or at least just the dataelementid…?

https://play.dhis2.org/demo/api/analytics.json?dimension=dx:s46m5MS0hxu.Prlt0C1RF0s&dimension=pe:LAST_12_MONTHS&dimension=ou:ImspTQPwCqd&displayProperty=NAME&tableLayout=true&columns=pe&rows=dx;ou

Olav

Hi Olav,

good spot. Fixed now in 2.22 → trunk.

regards,

Lars

···

On Thu, Apr 28, 2016 at 4:58 PM, Olav Poppe olav.poppe@me.com wrote:

Hi devs,
it looks like in 2.22 and 2.23, the data id is not included for dataelementoperands/data elements with disaggregations in analytics results when using table layout. Is this a bug? Would be good if it could be brought back (it was there prior to 2.22).

If making the below request, the first column in the data results (rows) is empty, while it would have been s46m5MS0hxu (or s46m5MS0hxu.Prlt0C1RF0) in previous versions. I understand that the code and description columns becomes difficult, but for dataelementoperands there is already a “valid” ID format that could be used, i.e. dataelementid.categoryoptioncomboid? Or at least just the dataelementid…?

https://play.dhis2.org/demo/api/analytics.json?dimension=dx:s46m5MS0hxu.Prlt0C1RF0s&dimension=pe:LAST_12_MONTHS&dimension=ou:ImspTQPwCqd&displayProperty=NAME&tableLayout=true&columns=pe&rows=dx;ou

Olav


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org