← Back to team overview

dhis2-devs team mailing list archive

Re: Data ID in analytics table layout

 

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@xxxxxx> 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
> <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>
>  (or s46m5MS0hxu.Prlt0C1RF0
> <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>)  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@xxxxxxxxxxxxxxxxxxx
> 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 <https://www.dhis2.org/>

References