dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35350
Re: [Bug 1402244] [NEW] event report/visulizer: option set sort order not respocted
Sorry - pls ignore - I see included the wrong parameters for OUlevels...
On Tue, Jan 27, 2015 at 11:46 AM, Greg Rowles <greg.rowles@xxxxxxxxx> wrote:
> Hi Olav, Jan and Others
>
> I think I've replicated this bug on the Sierra Leone (demo) instance:
>
>
> https://apps.dhis2.org/demo/api/analytics/events/aggregate/IpHINAT79UW.html?stage=A03MvHHogjR&dimension=ou:LEVEL-2;LEVEL-3;ImspTQPwCqd&dimension=pe:THIS_YEAR;LAST_YEAR&filter=UXz7xuGCEhU&displayProperty=NAME&asc=OUNAME
>
> OUnames are outputted non-alphabetical...
>
> Greg
>
>
> On Sun, Jan 25, 2015 at 12:53 PM, Olav Poppe <olav.poppe@xxxxxx> wrote:
>
>> Hi,
>> the issue is not that it doesn’t allow custom sorting (I didn’t know that
>> was possible), but that it sorts options alphabetically rather than using
>> the sort order specified for the option set.
>>
>> On the /demo for example, the option set for Gender has sort order Male -
>> Female, but in ER and EV they are displayed as Female - Male. Not so
>> important in the case of Gender, but if you have options like «Not
>> applicable» or «Other» you might want to have those at the end of the list
>> both in data entry and in analysis by default.
>>
>> Olav
>>
>>
>>
>> 23. jan. 2015 kl. 19.02 skrev Jan Henrik Øverland <
>> janhenrik.overland@xxxxxxxxx>:
>>
>> Olav,
>>
>> how/where can I reproduce it? This is what I tried (demo):
>>
>> - opened both ER and EV, selected Inpatient.. program, then Mode of
>> discharge
>> - selected a custom order, clicked update, but it worked as expected
>>
>> The demo is now 2.18, but nothing has been changed lately in this regard.
>>
>> Greg,
>>
>> seems adding "asc=OUNAME" does not have any effect (
>> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s22.html)
>>
>> Should be fixed, but please write a new bug report as it's an unrelated
>> issue.
>>
>> On Thu, Jan 22, 2015 at 3:21 PM, Greg Rowles <greg.rowles@xxxxxxxxx>
>> wrote:
>>
>>> Hi OIav/Devs
>>>
>>> Is this bug related to my observation:
>>>
>>> I cannot get event (aggregate) analytics to sort my data by column [OU]
>>> alphabetically ASC. Right now data is displayed with no apparent display
>>> order...
>>>
>>> Regards,
>>> Greg
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Olav P <1402244@xxxxxxxxxxxxxxxxxx>
>>> Date: Sat, Dec 13, 2014 at 7:41 PM
>>> Subject: [Dhis2-devs] [Bug 1402244] [NEW] event report/visulizer: option
>>> set sort order not respocted
>>> To: dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>
>>>
>>> Public bug reported:
>>>
>>> Event report/visulizer apps do not respect the sort order that is set
>>> for option sets. 2.17.
>>>
>>> ** Affects: dhis2
>>> Importance: Undecided
>>> Status: New
>>>
>>> --
>>> You received this bug notification because you are a member of DHIS 2
>>> developers, which is subscribed to DHIS.
>>> https://bugs.launchpad.net/bugs/1402244
>>>
>>> Title:
>>> event report/visulizer: option set sort order not respocted
>>>
>>> Status in DHIS 2:
>>> New
>>>
>>> Bug description:
>>> Event report/visulizer apps do not respect the sort order that is set
>>> for option sets. 2.17.
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/1402244/+subscriptions
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>> --
>>> *Health Information Systems Program - South Africa*
>>> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - -
>>> - - *
>>> Mobile : 073 246 2992
>>> Landline: 021 554 3130
>>> Fax: 086 733 8432
>>> Skype: gregory_rowles
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile : 073 246 2992
> Landline: 021 554 3130
> Fax: 086 733 8432
> Skype: gregory_rowles
>
--
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile : 073 246 2992
Landline: 021 554 3130
Fax: 086 733 8432
Skype: gregory_rowles
Follow ups
References