View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
11042Bug reportsSurvey editingpublic2016-04-30 16:13
ReporterHIV7 Assigned ToLouisGac 
PriorityhighSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary11042: Sorting of questions in the limesurvey view
Description

Out of the Forum post:"https://www.limesurvey.org/forum/design-issues/104382-sorting-of-questions-in-the-limesurvey-view#135178" this entry has been made.

Hello Experts,

I got a question concerning the view of the questions within the limesurves admin interface. In detail when I click and select "List Questions" then the questions of my survey are listed, but in an order that is very chaotic. Is that a bug or is somewhere a marker indicating the column the questions are sorted along? I added a screenshot to show what I mean!

My LimeSurvey Version is: Version 2.50+ Build 160425

Would be great if somebody can help me to get an appropriate order within my questions of the survey.

Kr,
HIV77

Steps To Reproduce

Just import the .lss and navigate to the view of the attached screenshot.

Additional Information

Question order shell be the same than "Survey order" , then group order/question order, or the user can decide via click on the column header wich column is choosen for the sorting

TagsNo tags attached.
Attached Files
Sorting_of_Questions.png (202,453 bytes)
Bug heat8
Complete LimeSurvey version number (& build)Version 2.50+ Build 160425
I will donate to the project if issue is resolvedYes
BrowserInternet Explorer 11
Database type & versionMySQL 5.5.48-c11
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP VersionPHP Version 5.4.45

Users monitoring this issue

There are no users monitoring this issue.

Activities

HIV7

HIV7

2016-04-26 09:30

reporter   ~37846

Added lss

DenisChenu

DenisChenu

2016-04-26 10:23

developer   ~37853

I think you can have a different issue with lss imported .
Because when you import lss : it fix the qid order.

Then : did you update order of question after adding all question ?

Denis

HIV7

HIV7

2016-04-26 11:09

reporter   ~37856

Hi Denis, I don't think I've updated the order of questions, but there is a randomization within 4 of 6 question groups, might that be to blame?

Kr,
HIV77

DenisChenu

DenisChenu

2016-04-26 11:27

developer   ~37861

Yes : surely. Think it fixed when we export or reporder, but unsure :)

You surely find the bug origin :)

HIV7

HIV7

2016-04-26 11:39

reporter   ~37862

So what is the current action for me?

LouisGac

LouisGac

2016-04-28 12:43

developer   ~37956

The question list now order the questions by "Question order"
see:
https://github.com/LimeSurvey/LimeSurvey/blob/master/application/models/Question.php#l918

You can also click on the header of the table to change the order (so you can order the question by question's id.)

DenisChenu

DenisChenu

2016-04-28 12:47

developer   ~37957

@LouisGac : you don't need $criteria->order = 'group_order ASC,question_order ASC'; ?

LouisGac

LouisGac

2016-04-28 12:50

developer   ~37958

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=18793

LouisGac

LouisGac

2016-04-28 12:51

developer   ~37959

good idea ;-)

c_schmitz

c_schmitz

2016-04-30 16:13

administrator   ~38046

Version 2.50+ Build 160430 released

Related Changesets

LimeSurvey: master 5a953cd2

2016-04-28 10:50:53

LouisGac

Details Diff
Fixed issue 11042: Sorting of questions in the limesurvey view Affected Issues
11042
mod - application/models/Question.php Diff File

Issue History

Date Modified Username Field Change
2016-04-26 09:28 HIV7 New Issue
2016-04-26 09:28 HIV7 File Added: Sorting_of_Questions.png
2016-04-26 09:30 HIV7 File Added: limesurvey_survey_754329.zip
2016-04-26 09:30 HIV7 Note Added: 37846
2016-04-26 10:23 DenisChenu Note Added: 37853
2016-04-26 11:09 HIV7 Note Added: 37856
2016-04-26 11:27 DenisChenu Note Added: 37861
2016-04-26 11:39 HIV7 Note Added: 37862
2016-04-27 10:27 c_schmitz Priority none => high
2016-04-28 12:43 LouisGac Note Added: 37956
2016-04-28 12:43 LouisGac Status new => resolved
2016-04-28 12:43 LouisGac Resolution open => fixed
2016-04-28 12:43 LouisGac Assigned To => LouisGac
2016-04-28 12:47 DenisChenu Note Added: 37957
2016-04-28 12:50 LouisGac Changeset attached => LimeSurvey master 5a953cd2
2016-04-28 12:50 LouisGac Note Added: 37958
2016-04-28 12:51 LouisGac Note Added: 37959
2016-04-30 16:13 c_schmitz Note Added: 38046
2016-04-30 16:13 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing