View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|16741||Bug reports||Statistics||public||2020-10-15 16:16||2020-10-15 16:16|
|Summary||16741: Filtering on responses for questions of type Array Dual Scale was not working in Statistics|
In Statistics, Filtering on responses for questions of type Array Dual Scale was not working at all: Results were not respecting those filters, and the selections in those selectors were lost on the results page.
|Steps To Reproduce|
To reproduce: Just create a one-question survey with a dual array dual scale question and their sub-questions. Or use an example from the man page https://manual.limesurvey.org/Question_type_-_Array_dual_scale . Then fill-in one survey, and go to admin results statistics. In Response Filters select one of the dual-scale answers that was NOT selected in that test survey.
Expected result: 0 out of 1 shown and selection in Response Filter still selected.
Analysis and fixes:
Additionally, once fixed, an html comment above was generating a warning because they supposed strings and got arrays of strings. This PR fixes both of them.
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||LimeSurvey master|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||irrelevant|
|Server OS (if known)|
|Webserver software & version (if known)|