View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09773Bug reportsSurvey takingpublic2015-07-24 11:44
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09773: Ranking question with filter are not resetted when come back to question
Description

With previous, the ranking question type with filter are not resetted

Steps To Reproduce

Import LSS file included,
1st group : check 1 and 2 (for example)
2nd group : rank 1 at first
3rd group : OK
Previous/Previous to 1st group
1st group : uncheck 1 and 2 and check 3 and 4
2nd group : do nothing
3rd group : Rank 1 is Answer 1 : bad .....

Additional Information

It's OK with radio

Logic file show the ( ! is_empty(FILTER_A1.NAOK)))but not reset in PHP : PHP must reset it for Ranking and Radio

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)150711
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP VersionPHP Version 5.4.41-0+deb7u1

Relationships

related to 09774 confirmed Bug reports No PHP control on answer filtered for radio and ranking 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-07-12 15:03

developer   ~32673

https://bugs.limesurvey.org/view.php?id=8725 make this fixed very easy for javascript.

DenisChenu

DenisChenu

2015-07-13 14:22

developer   ~32674

Fix it by :

$(function() {
$('#sortable-rank-'+qID+" li").filter(":not(:visible)").each(function(){
$(this).appendTo('#sortable-choice-'+qID+'');
$('#sortable-choice-'+qID+'').sortable('refresh');
$('#sortable-rank-'+qID+'').sortable('refresh');
updateDragDropRank(qID);
});
});

For previous filter.

DenisChenu

DenisChenu

2015-07-23 09:51

developer   ~32765

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

DenisChenu

DenisChenu

2015-07-23 09:56

developer   ~32766

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

c_schmitz

c_schmitz

2015-07-24 11:44

administrator   ~32776

Version 2.06 Build 150723 released

Related Changesets

LimeSurvey: master db3f247a

2015-07-23 09:49

DenisChenu


Details Diff
Fixed issue 09773: Ranking question with filter are not resetted when come back to question
Dev: this fix completely the javascript part
Dev: leave EM to fix EM and ranking.js to do the drag & drop
Dev: then drag & drop functionnality can go easily to Question plugin
Dev: dropdown system for EM core
Affected Issues
09773
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - scripts/expressions/em_javascript.js Diff File
mod - scripts/ranking.js Diff File

LimeSurvey: develop d78db618

2015-07-23 09:49

DenisChenu


Details Diff
Fixed issue 09773: Ranking question with filter are not resetted when come back to question
Dev: this fix completely the javascript part
Dev: leave EM to fix EM and ranking.js to do the drag & drop
Dev: then drag & drop functionnality can go easily to Question plugin
Dev: dropdown system for EM core
Affected Issues
09773
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - scripts/expressions/em_javascript.js Diff File
mod - scripts/ranking.js Diff File

Issue History

Date Modified Username Field Change
2015-07-11 11:13 DenisChenu New Issue
2015-07-11 11:14 DenisChenu File Added: limesurvey_survey_rankingFilter.lss
2015-07-12 11:05 DenisChenu Relationship added related to 09774
2015-07-12 15:03 DenisChenu Note Added: 32673
2015-07-13 14:22 DenisChenu Note Added: 32674
2015-07-22 18:06 DenisChenu Assigned To => DenisChenu
2015-07-22 18:06 DenisChenu Status new => assigned
2015-07-23 09:41 DenisChenu File Added: limesurvey_survey_rankingFilterSamePage.lss
2015-07-23 09:51 DenisChenu Changeset attached => LimeSurvey master db3f247a
2015-07-23 09:51 DenisChenu Note Added: 32765
2015-07-23 09:51 DenisChenu Resolution open => fixed
2015-07-23 09:56 DenisChenu Changeset attached => LimeSurvey develop d78db618
2015-07-23 09:56 DenisChenu Note Added: 32766
2015-07-23 09:57 DenisChenu Status assigned => resolved
2015-07-23 09:57 DenisChenu Fixed in Version => 2.06+
2015-07-24 11:44 c_schmitz Note Added: 32776
2015-07-24 11:44 c_schmitz Status resolved => closed