View Issue Details

This bug affects 1 person(s).
 14
IDProjectCategoryView StatusLast Update
17637Bug reportsQuestion editorpublic2022-01-05 09:36
Reporterandreafesta Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.x 
Summary17637: Wrong question order
Description

When I add a new question it not go to the end of the list...
When I move it to the ned of the list, 1st question become the 2nd.

Thank you.
Andrea

Steps To Reproduce

Create a new question and save

TagsNo tags attached.
Attached Files
question01.jpg (52,434 bytes)   
question01.jpg (52,434 bytes)   
question02.jpg (49,192 bytes)   
question02.jpg (49,192 bytes)   
question03.jpg (57,231 bytes)   
question03.jpg (57,231 bytes)   
Bug heat14
Complete LimeSurvey version number (& build)5.1.14+210927
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & version10.3.29-MariaDB-0+deb10u1 - Debian 10
Server OS (if known)Debian 10
Webserver software & version (if known)
PHP Version7.3.29-1~deb10u1

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-09-30 13:17

administrator   ~66681

Added to our next sprint. Thanks for reporting this.

andreafesta

andreafesta

2021-09-30 13:28

reporter   ~66686

Last edited: 2021-11-11 10:12

Thank you!

c_schmitz

c_schmitz

2021-10-21 11:47

administrator   ~66884

Last edited: 2021-11-11 10:12

@galads I cannot reproduce any of the issue. Can you?

galads

galads

2021-10-21 13:10

reporter   ~66887

Last edited: 2021-11-11 10:12

@c_schmitz , it is the sorting order after moving one of the questions (dragging). For example, create 4 questions, move the fourth one to be the first, then add a new question. The new question will become the second instead of the first. It is a minor issue

andreafesta

andreafesta

2021-10-21 14:10

reporter   ~66889

Last edited: 2021-11-11 10:12

With last version, when I create a new questions It moves as secodon.
Do you need another screenshot?

Thank you
Andrea

vitautss

vitautss

2021-11-10 08:27

reporter   ~67218

Last edited: 2021-11-11 10:12

Hi,
I am new here but going to participate more actively in LimeSurvey development as we have chosen it to be used as survey platform for municipat school district.
I have simple bugfix for question order as it was one of the problems annoying me. Without it all new questions are added with question_order value 1 instead of next last value +1.
As I am new here, what would be correct way to publish this bugfix? PR on github? Should I refer this bug number? In fact I'm sure I saw another older bug with same problem.
Best regards
Vitauts Stočka

guest

guest

2021-11-12 13:49

viewer   ~67278

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

LimeBot

LimeBot

2022-01-05 09:36

administrator   ~67917

Fixed in Release 5.2.2+211115

Related Changesets

LimeSurvey: master 48e3ce02

2021-11-12 13:49:53

vitautss


Committer: GitHub Details Diff
Fixed issue 17637: wrong question order (#2139)

Dev gid was not used by storeNewQuestionData() as ajax request passes it in question data, not as request param.
Affected Issues
17637
mod - application/controllers/QuestionAdministrationController.php Diff File

Issue History

Date Modified Username Field Change
2021-09-30 10:12 andreafesta New Issue
2021-09-30 10:12 andreafesta File Added: question01.jpg
2021-09-30 10:12 andreafesta File Added: question02.jpg
2021-09-30 10:12 andreafesta File Added: question03.jpg
2021-09-30 13:16 ollehar Description Updated
2021-09-30 13:16 ollehar Zoho Project Synchronization => |Yes|
2021-09-30 13:17 ollehar Note Added: 66681
2021-09-30 13:17 ollehar Bug heat 0 => 2
2021-09-30 13:17 ollehar Assigned To => ollehar
2021-09-30 13:17 ollehar Status new => acknowledged
2021-09-30 13:28 andreafesta Note Added: 66686
2021-09-30 13:28 andreafesta Bug heat 2 => 4
2021-10-21 11:47 c_schmitz Assigned To ollehar => galads
2021-10-21 11:47 c_schmitz Note Added: 66884
2021-10-21 11:47 c_schmitz Bug heat 4 => 6
2021-10-21 11:47 c_schmitz Zoho Project Synchronization Yes =>
2021-10-21 13:10 galads Note Added: 66887
2021-10-21 13:10 galads Bug heat 6 => 8
2021-10-21 14:10 andreafesta Note Added: 66889
2021-11-10 08:27 vitautss Note Added: 67218
2021-11-10 08:27 vitautss Bug heat 8 => 10
2021-11-11 10:11 c_schmitz Status acknowledged => ready for code review
2021-11-11 10:11 c_schmitz Zoho Project Synchronization => |Yes|
2021-11-11 10:12 c_schmitz Zoho Project Synchronization Yes => |Yes|
2021-11-12 13:49 vitautss Changeset attached => LimeSurvey master 48e3ce02
2021-11-12 13:49 guest Note Added: 67278
2021-11-12 13:49 guest Bug heat 10 => 12
2022-01-05 09:36 LimeBot Zoho Project Synchronization Yes => |Yes|
2022-01-05 09:36 LimeBot Note Added: 67917
2022-01-05 09:36 LimeBot Status ready for code review => closed
2022-01-05 09:36 LimeBot Resolution open => fixed
2022-01-05 09:36 LimeBot Bug heat 12 => 14