← Back to team overview

dhis2-devs team mailing list archive

Re: Issue with /api/reportTables api

 

Seems relative periods are rewinded by one period. "This quarter" returns
Apr-Jun in the pivot table, but Jan-Mar in /data.html. Should be fixed.

On 12 April 2016 at 11:06, Aamer Mohammed <aamerm@xxxxxxxxxxxxxxxx> wrote:

>
> I checked in play.dhis2.org also. I am seeing the same issue.
> For the reportTable, "ANC: Coverages Quarterly" last row data is not
> being retrieved by the api
> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json
>
> Is it a known issue?
>
>
> On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Hm, I take that back.. seems both are included.. seems strange
>>
>> --
>> Morten
>>
>> On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen <morten@xxxxxxxxx>
>> wrote:
>>
>>> Hm, seems March 2015 is included instead of March 2016... not sure if
>>> it's a known issue or not, but seems like a bug, Lars will know better
>>> (maybe it's fixed already)
>>>
>>> --
>>> Morten
>>>
>>> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed <aamerm@xxxxxxxxxxxxxxxx
>>> > wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> We have seen the below issue when working with /api/reportTables api.
>>>> We are using DHIS 2.21 build revision 21058.
>>>> The reportTable as seen in DHIS app is as below.
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> However when we try to fetch the data for the same report Table through
>>>> /api/reportTables/<id>/data.html api we are not getting entire data. The
>>>> data for last row is not retrieved through api (json response attached)
>>>> Is anyone else facing this issue? Any observations please.
>>>>
>>>> Thanks
>>>> Aamer.
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> 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
>
>

PNG image


Follow ups

References