View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
16039Bug reportsSurvey editingpublic2020-07-27 10:52
Reporterong Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version4.1.11 
Summary16039: Order of items not a numerical order
Description

Hi

the problem also occurs in Version 4.1.12+200324

The order of items (with the already reported -not in order-problem) I also not a numerical order as it seems.
Order might show up as 1,10,12,2,3....
instead of 1,2,3,10,12
Also the order shows up wrong the the question group differently than in the list of questions, orders by order number
(see attached image)

Steps To Reproduce

Create a question group, add some questions -> The order might not be ok.
When you click on the header "ORDER" to sort items by number - it's not sorted numerical.

TagsNo tags attached.
Attached Files
Untitled.png (12,875 bytes)   
Untitled.png (12,875 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)Version 4.1.12+200324
I will donate to the project if issue is resolvedNo
Browservivaldi
Database type & versionmysqlnd 5.0.12-dev - 20150407 / v 8.0.18
Server OS (if known)Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
Webserver software & version (if known)apache2
PHP Version7.something

Users monitoring this issue

DenisChenu

Activities

ong

ong

2020-05-13 09:27

reporter   ~57730

error still exists in 4.2.3+200511

gabrieljenik

gabrieljenik

2020-07-20 23:49

manager   ~59003

Last edited: 2020-07-21 14:09

Changed sorting criteria closer to a natural sorting.

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1490

user225042

2020-07-21 12:01

  ~59015

Last edited: 2020-07-21 14:09

Tested the issue before pulling the PR, Issue exist. Tested the issue after pulling the PR, working as expected. Please refer the attachment for more details.
Worked for me after clearing the application cache.

guest

guest

2020-07-21 12:34

viewer   ~59016

Last edited: 2020-07-21 14:09

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

lime_release_bot

lime_release_bot

2020-07-27 10:52

administrator   ~59094

Fixed in Release 4.3.6+200727

Related Changesets

LimeSurvey: master bf6e32bd

2020-07-21 12:34:11

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 16039: Order of items not a numerical order (#1490)

Dev: Changed sorting criteria closer to a natural sorting.
Affected Issues
16039
mod - assets/packages/questiongroup/build.min/js/questiongroupedit.js Diff File
mod - assets/packages/questiongroup/build.min/js/questiongroupedit.js.map Diff File
mod - assets/packages/questiongroup/build/js/questiongroupedit.js Diff File
mod - assets/packages/questiongroup/build/js/questiongroupedit.js.map Diff File
mod - assets/packages/questiongroup/src/components/QuestionList.vue Diff File

Issue History

Date Modified Username Field Change
2020-03-25 11:20 ong New Issue
2020-03-25 11:20 ong File Added: Untitled.png
2020-03-27 10:57 cdorin Priority none => normal
2020-03-27 10:57 cdorin Status new => confirmed
2020-03-27 10:57 cdorin Description Updated
2020-03-27 10:57 cdorin Steps to Reproduce Updated
2020-04-01 16:54 cdorin Zoho Sprints => |Yes|
2020-04-01 16:54 swendrich Zoho Sprints ID => 14469000000017085
2020-05-13 09:27 ong Note Added: 57730
2020-05-19 09:04 DenisChenu Issue Monitored: DenisChenu
2020-07-20 23:49 gabrieljenik Note Added: 59003
2020-07-21 12:01 user225042 Note Added: 59015
2020-07-21 12:01 user225042 File Added: 16039_QuestionOrder_Sort.png
2020-07-21 12:34 gabrieljenik Changeset attached => LimeSurvey master bf6e32bd
2020-07-21 12:34 guest Note Added: 59016
2020-07-21 14:09 swendrich Zoho Sprints Yes => |Yes|
2020-07-21 14:09 swendrich Status confirmed => resolved
2020-07-27 10:52 lime_release_bot Zoho Sprints Yes => |Yes|
2020-07-27 10:52 lime_release_bot Note Added: 59094
2020-07-27 10:52 lime_release_bot Status resolved => closed
2020-07-27 10:52 lime_release_bot Resolution open => fixed
2021-08-03 04:12 guest Bug heat 10 => 12