Tracker capture app displays the items in a different order

Hi Devs.

Please note I am facing a peculiar issue with the Tracker Capture App on the tablets.

The issue is, the data elements appear in a different order than what I have defined in the programme stage. For example, say I designed a data entry screen in the following order of data elements:

  1. First name
  2. Surname
  3. Date of Birth
  4. Sex

On the web interface (Tracker capture on computer), the order looks fine as defined above. But on the tablets, the Tracker Capture App displays the elements in a different order, something like:

  1. Surname
  2. Date of Birth
  3. First name
  4. Sex.

Since the order appears correctly on the computer, I don’t’ know what to do to make it to appear with the same order on the tablets.

Kindly assist me to fix this issue.

Thanks and regards

MSP

1 Like

Hi Selvaraaj,

Did you arrange them in the Section part as below:

image.png

If not try to arrange them like this and see if it works.

Thank you

Stanley

···

On Sat, Nov 24, 2018 at 9:41 AM M.Selvaraaj Prabu msp.cbe@gmail.com wrote:

Hi Devs.

Please note I am facing a peculiar issue with the Tracker Capture App on the tablets.

The issue is, the data elements appear in a different order than what I have defined in the programme stage. For example, say I designed a data entry screen in the following order of data elements:

  1. First name
  2. Surname
  3. Date of Birth
  4. Sex

On the web interface (Tracker capture on computer), the order looks fine as defined above. But on the tablets, the Tracker Capture App displays the elements in a different order, something like:

  1. Surname
  2. Date of Birth
  3. First name
  4. Sex.

Since the order appears correctly on the computer, I don’t’ know what to do to make it to appear with the same order on the tablets.

Kindly assist me to fix this issue.

Thanks and regards

MSP


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

1 Like

Hi Stanley,

Thanks for your reply. Yes, I have done the ordering in the “section” side. As I have indicated, the order is fine on computers but different in tablets.

···

Thanks and regards

MSP

1 Like

Hi,

Make sure you have sorted the data elements correctly in the “basic” section too - section sort order is not necessarily the same as the basic sort order, and sorting the section part does not simultaneously update the “basic” part.

regards

Calle

···

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


1 Like

Hi Calle.

Thanks for your help. It is working like a charm. I thought the sorting on Basic option is not needed when we use the Section option.

Thank you once again for taking your valuable time to assist us. I really appreciate. God Bless!

···

Thanks and regards

MSP

1 Like

I have also learnt something today…DHIS2 Gosh!!

···

On Sun, Nov 25, 2018, 4:25 PM M.Selvaraaj Prabu <msp.cbe@gmail.com wrote:

Hi Calle.

Thanks for your help. It is working like a charm. I thought the sorting on Basic option is not needed when we use the Section option.

Thank you once again for taking your valuable time to assist us. I really appreciate. God Bless!

Thanks and regards

MSP

On Sun, Nov 25, 2018 at 2:43 PM Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

Make sure you have sorted the data elements correctly in the “basic” section too - section sort order is not necessarily the same as the basic sort order, and sorting the section part does not simultaneously update the “basic” part.

regards

Calle

On Sun, 25 Nov 2018 at 13:00, M.Selvaraaj Prabu msp.cbe@gmail.com wrote:

Hi Stanley,

Thanks for your reply. Yes, I have done the ordering in the “section” side. As I have indicated, the order is fine on computers but different in tablets.

Thanks and regards

MSP

On Sat, Nov 24, 2018 at 11:28 AM Stanley Kalyati skalyati@gmail.com wrote:

Hi Selvaraaj,

Did you arrange them in the Section part as below:

image.png

If not try to arrange them like this and see if it works.

Thank you

Stanley

On Sat, Nov 24, 2018 at 9:41 AM M.Selvaraaj Prabu msp.cbe@gmail.com wrote:

Hi Devs.

Please note I am facing a peculiar issue with the Tracker Capture App on the tablets.

The issue is, the data elements appear in a different order than what I have defined in the programme stage. For example, say I designed a data entry screen in the following order of data elements:

  1. First name
  2. Surname
  3. Date of Birth
  4. Sex

On the web interface (Tracker capture on computer), the order looks fine as defined above. But on the tablets, the Tracker Capture App displays the elements in a different order, something like:

  1. Surname
  2. Date of Birth
  3. First name
  4. Sex.

Since the order appears correctly on the computer, I don’t’ know what to do to make it to appear with the same order on the tablets.

Kindly assist me to fix this issue.

Thanks and regards

MSP


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


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

–


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


1 Like

Hi

Yes, normal thinking/logic says that section sorting (possibly even custom sorting) should automatically re-sort the “basic” list too (aka the “sort_order” field in the programstagedataelement table), but it does not. I wrote a JIRA issue for it some time back (DHIS2-4322), and Jose did another one (DHIS2-4528) - they are supposed to have resolved the issue. So you might want to consider upgrading to a newer build (assuming you are using 2.29 or 2.30)

Regards

Calle

···

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


1 Like