Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-19 Thread Aamer Mohammed
Hi Lars, Thanks for the quick fix. Could you backport it to 2.21 as well. Thanks Aamer. On Mon, Apr 18, 2016 at 5:48 PM, Lars Helge Øverland wrote: > > Okay now I see what you mean. > > Fixed now in trunk and 2.22. > > regards, > > Lars > > > > > > > > > > On Mon, Apr 18, 2016 at 1:36 PM, Aame

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-18 Thread Lars Helge Øverland
Okay now I see what you mean. Fixed now in trunk and 2.22. regards, Lars On Mon, Apr 18, 2016 at 1:36 PM, Aamer Mohammed wrote: > Hi Lars, > > I checked on demo (Version 2.22, Revision 21999). The reportTable 'ANC > Coverages Quarterly' has below data > [image: Inline image 1] > > > W

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-18 Thread Aamer Mohammed
Hi Lars, I checked on demo (Version 2.22, Revision 21999). The reportTable 'ANC Coverages Quarterly' has below data [image: Inline image 1] Whereas the api https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data. json is n

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-15 Thread Lars Helge Øverland
Hi Aamer, this seems to work as expected in 2.22 / on demo. Can you try to reproduce there? If not, can you upgrade to 2.22? regards, Lars On Tue, Apr 12, 2016 at 4:54 PM, Jan Henrik Øverland < janhenrik.overl...@gmail.com> wrote: > Seems relative periods are rewinded by one period. "This qua

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Jan Henrik Øverland
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 wrote: > > I checked in play.dhis2.org also. I am seeing the same issue. > For the reportTable, "ANC: Covera

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Aamer Mohammed
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 Hanse

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Morten Olav Hansen
Hm, I take that back.. seems both are included.. seems strange -- Morten On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 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 fixe

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Morten Olav Hansen
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 wrote: > Hi Devs, > > We have seen the below issue when working with

[Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Aamer Mohammed
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//data.htm