View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09298Bug reportsCentral participant databasepublic2014-10-20 13:49
ReporterDLange Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Fixed in Version2.05+ 
Summary09298: Sort for a numeric token_attribute field in any participant table fails completely
Description

If you have a participant or token attribute that contains a number (e.g. a group number) clicking on it (Javascript sort) produces a random result, not a sorted order

Steps To Reproduce

Global participant table
Create participant attribute "group" as text
Fill some data
In view mode click on table heading "group" to change sort order
-> random result, see attached screenshot

Additional Information

The bug is the same on the global participant table and individual survey participant tables.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)2.05+ (141003)
I will donate to the project if issue is resolvedNo
Browser
Database type & versionnot applicable
Server OS (if known)not applicable
Webserver software & version (if known)not applicable
PHP Versionnot applicable

Users monitoring this issue

There are no users monitoring this issue.

Activities

DLange

DLange

2014-10-13 13:35

reporter   ~30785

Further observations: As sorting for numeric data works with the built in fields there seems to be a dependency on extra attribute fields (these are alnum not numeric). Larger sets (150 participants in 15 groups) are rather unmanageable with that bug present.

Mazi

Mazi

2014-10-13 13:40

updater   ~30786

What happens if that column contains text? Is that sorted properly?

DLange

DLange

2014-10-13 16:11

reporter   ~30788

Yes. If it contains text-strings it sorts correctly.

c_schmitz

c_schmitz

2014-10-13 16:29

administrator   ~30789

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

c_schmitz

c_schmitz

2014-10-20 13:49

administrator   ~30827

Version 2.05+ Build 141020 released

Related Changesets

LimeSurvey: master 42513f59

2014-10-13 14:28:35

c_schmitz

Details Diff
Fixed issue 09298: Sort for a numeric token_attribute field in any participant table fails completely Affected Issues
09298
mod - application/controllers/admin/participantsaction.php Diff File

Issue History

Date Modified Username Field Change
2014-10-13 13:26 DLange New Issue
2014-10-13 13:26 DLange File Added: Limesurvey_bug_sort_attribute_number.png
2014-10-13 13:35 DLange Note Added: 30785
2014-10-13 13:40 Mazi Note Added: 30786
2014-10-13 16:11 DLange Note Added: 30788
2014-10-13 16:27 c_schmitz Assigned To => c_schmitz
2014-10-13 16:27 c_schmitz Status new => assigned
2014-10-13 16:29 c_schmitz Changeset attached => LimeSurvey master 42513f59
2014-10-13 16:29 c_schmitz Note Added: 30789
2014-10-13 16:29 c_schmitz Resolution open => fixed
2014-10-13 22:47 c_schmitz Status assigned => resolved
2014-10-13 22:47 c_schmitz Fixed in Version => 2.05+
2014-10-20 13:49 c_schmitz Note Added: 30827
2014-10-20 13:49 c_schmitz Status resolved => closed