Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Ask Groups in given order

More
7 years 5 months ago #167051 by denkschlind
Hi,

I'm evaluating LimeSurvey Version 3.6.1+180329 for internal usage in my company.


I'd like to have three groups being asked in the given order: first Group1, then Group2, then finally Group3.

No matter which order I set in the Admin UI, the Groups are not asked in that given order. (Further, the order of the questions in groups is mixed up as well, but that's a different story, maybe?)

I do not use any randomisation (well, I tried, but that didn't make any difference).

Reading the manual up and down, it seems that asking groups in the order as specified in the "Structure in the Admin UI" should be all that I have to do, but reality seems more complicated.


Now my questions: Is it possible to get groups asked in the survey in that given order? And if yes, what do i miss or am I doing wrong?

Any hint or help would be appreciated.


Cheers!
The topic has been locked.
More
7 years 5 months ago #167052 by jelo
Replied by jelo on topic Ask Groups in given order

denkschlind wrote: No matter which order I set in the Admin UI, the Groups are not asked in that given order. (Further, the order of the questions in groups is mixed up as well, but that's a different story, maybe?)

Please create a new survey with just three groups and one question in each group. Is the issue still there? If yes, please export the survey and attach it here in the thread to check the survey itself.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
7 years 5 months ago #167055 by denkschlind
Hi Jelo, thanks for the quick response!

I created a new survey as suggested, exported .lss and a screenshot of the structure in Admin UI is attached. In the preview, the groups were asked in (again wrong) order like Group3, Group 1, Group 2.

Cheers!
More
7 years 5 months ago - 7 years 5 months ago #167057 by denkschlind
Just found out that the exported data does not reflect the view in the Admin UI:

<group_name><![CDATA[Group 1]]></group_name>
<group_order><![CDATA[1]]></group_order>

<group_name><![CDATA[Group 2]]></group_name>
<group_order><![CDATA[2]]></group_order>

<group_name><![CDATA[Group 3]]></group_name>
<group_order><![CDATA[0]]></group_order>


I don't know the system, but this seems incosistent to me.
Last edit: 7 years 5 months ago by denkschlind.
The topic has been locked.
More
7 years 5 months ago #167060 by jelo
Replied by jelo on topic Ask Groups in given order
The order in the export is
Group3
Group1
Group2

The question is, if it is a bug with LS 3.6.1 or your setup.
Click on the version number at the bottom to get infos about your technical setup?
What database is used?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
7 years 5 months ago - 7 years 5 months ago #167062 by denkschlind
Tried reordering and exporting again:

<group_name><![CDATA[Group 1]]></group_name>
<group_order><![CDATA[2]]></group_order>

<group_name><![CDATA[Group 2]]></group_name>
<group_order><![CDATA[0]]></group_order>

<group_name><![CDATA[Group 3]]></group_name>
<group_order><![CDATA[1]]></group_order>


Seems like the last group in the list (bottom) always gets order "0", when the other groups are numbered almost correct.


I'm using Version 3.6.1+180329 on PHP 7.0 with a Postgres 9.5 database.


Since I tried this for a couple of surveys now and it's reproducible, I'd expect this to be a bug.
Last edit: 7 years 5 months ago by denkschlind.
The topic has been locked.
More
7 years 5 months ago #167064 by jelo
Replied by jelo on topic Ask Groups in given order

denkschlind wrote: Postgres 9.5 database.Since I tried this for a couple of surveys now and it's reproducible, I'd expect this to be a bug.

Yes, PostgreSQL is a common pattern when it comes to bugs. There is a lot less testing in the userbase. Please open a bugticket. I cannot help anymore. I'm using the most used setup to prevent such nasty issues.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: denkschlind
The topic has been locked.
More
7 years 5 months ago #167084 by ollehar
Replied by ollehar on topic Ask Groups in given order
Please try use the question organizer instead of the side menu.
The topic has been locked.
More
7 years 5 months ago #167085 by denkschlind
As far as I understand, the question organizer seems to be a feature in v2 where I'm using v3. I can't find a link to such an organizer? www.limesurvey.org/manual/Survey_structure
The topic has been locked.
More
7 years 5 months ago #167087 by ollehar
Replied by ollehar on topic Ask Groups in given order
It is quite hidden. If you collapse the side-menu, you can find a button to question organizer at the bottom of the side-menu.
The topic has been locked.
More
7 years 5 months ago #167090 by jelo
Replied by jelo on topic Ask Groups in given order

olle wrote: Please try use the question organizer instead of the side menu.

Here a screenshot.

Is that meant as a workaround? If creating a survey without touching the organizer the structure should stay. A bug report seems to be valid. I'm not using PostgreSQL. So I cannot reproduce.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
7 years 5 months ago #167093 by ollehar
Replied by ollehar on topic Ask Groups in given order
Markus implemented the side-menu ordering. Please nag him to fix it.
The topic has been locked.
More
7 years 5 months ago #167100 by denkschlind
Ahoi,
just tried another instance with MySQL and the problem is gone. For my case, this is a solution.
Would you mind taking over doing the bug report as I don't have an account in your Mantis and am unsure where to file it?

Thanks a lot for your support!
The topic has been locked.
More
7 years 5 months ago #167101 by ollehar
Replied by ollehar on topic Ask Groups in given order
Sure.
The topic has been locked.
More
7 years 5 months ago #167102 by ollehar
Replied by ollehar on topic Ask Groups in given order
You should automatically have a Mantis account, no? Please follow this bug report to give feedback. bugs.limesurvey.org/view.php?id=13588
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose