Duplicated orgunit display in report table organisation unit selection area

Hi everybody,

On demo instance of DHIS2,

  1. create a user (for instance: NIPH) and asign to “Sierra Leone” and “Bo”

  2. login with the new user (NIPH)

  3. go to Services → Reports → report table, then Create a report.

Result: Organisation unit selection area display: “Sierra Leone” and “Bo” as the same level.

Is it a bug?

···


Thai Chuong
HCMUT - Computer science and engineering Faculty

Website: http://thuytruc.net

YM/Skype : thaichuong159
Email: thaichuong159@gmail.com
Phone: (+84) 918776134

Hi Thai,

this is admittedly a bit confusing and could have been optimized, but not a bug.

The behavior is to display all org units associated with the current user as roots in the tree. This is useful for the typical use-case: an officer being associated with two or more districts at the same level.

In your case you can simply not associate “Bo” with your user - it has no effect since the selection is hierarchical (gives you access downwards in the tree) and you already have access to Bo through Sierra Leone.

Lars

···

On Tue, Oct 22, 2013 at 11:50 AM, Thái Chương thaichuong159@gmail.com wrote:

Hi everybody,

On demo instance of DHIS2,

  1. create a user (for instance: NIPH) and asign to “Sierra Leone” and “Bo”
  1. login with the new user (NIPH)
  1. go to Services → Reports → report table, then Create a report.

Result: Organisation unit selection area display: “Sierra Leone” and “Bo” as the same level.

Is it a bug?

Thai Chuong
HCMUT - Computer science and engineering Faculty

Website: http://thuytruc.net

YM/Skype : thaichuong159
Email: thaichuong159@gmail.com
Phone: (+84) 918776134


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

Yes, Thank you Lars,

···

2013/10/22 Lars Helge Øverland larshelge@gmail.com

Hi Thai,

this is admittedly a bit confusing and could have been optimized, but not a bug.

The behavior is to display all org units associated with the current user as roots in the tree. This is useful for the typical use-case: an officer being associated with two or more districts at the same level.

In your case you can simply not associate “Bo” with your user - it has no effect since the selection is hierarchical (gives you access downwards in the tree) and you already have access to Bo through Sierra Leone.

Lars


Thai Chuong
HCMUT - Computer science and engineering Faculty

Website: http://thuytruc.net

YM/Skype : thaichuong159
Email: thaichuong159@gmail.com
Phone: (+84) 918776134

On Tue, Oct 22, 2013 at 11:50 AM, Thái Chương thaichuong159@gmail.com wrote:

Hi everybody,

On demo instance of DHIS2,

  1. create a user (for instance: NIPH) and asign to “Sierra Leone” and “Bo”
  1. login with the new user (NIPH)
  1. go to Services → Reports → report table, then Create a report.

Result: Organisation unit selection area display: “Sierra Leone” and “Bo” as the same level.

Is it a bug?

Thai Chuong
HCMUT - Computer science and engineering Faculty

Website: http://thuytruc.net

YM/Skype : thaichuong159
Email: thaichuong159@gmail.com
Phone: (+84) 918776134


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