View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
16373Bug reportsSurvey editingpublic2020-09-21 14:54
ReporterGustavo_Kremer Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.22.17 
Summary16373: Bootstrap Buttons not aligned when filtered
Description

Hi, I'm attaching a sample exercise, with two multiple choice questions (Q1 and Q2). The idea is to filter Q2 in order to show only the options checked in Q1. But the tricky part is that Q2 must be shown as bootstrap buttons. The button alignment doesn't work well. It shows correctly the options checked in Q1 (that works fine), but instead of showing all options together, there are blank spaces in the area that the options not checked in Q1 would be (if they were checked). I tried to do it with several themes just in case it was a theme-related issue, with the result is the same regardless. In the attached screenshots it can be seen the results of selecting a series of options in Q1 (Q1.jpg), and how it shows in Q2 (Q2.jpg). Also, I'm attaching the lss with both questions. A couple years ago, this used to work fine, but now it's not. Many thanks in advance!

TagsNo tags attached.
Attached Files
Q1.JPG (31,079 bytes)   
Q1.JPG (31,079 bytes)   
Q2.JPG (26,566 bytes)   
Q2.JPG (26,566 bytes)   
Bug heat10
Complete LimeSurvey version number (& build)LimeSurvey Professional Enterprise build 3.22.17
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome, Microsoft Edge
Database type & version360
Server OS (if known)
Webserver software & version (if known)
PHP VersionPro Edition (i have no idea of used PHP version)

Users monitoring this issue

There are no users monitoring this issue.

Activities

user225042

2020-07-06 14:26

  ~58721

Tested issue exist in the latest versions as well

gabrieljenik

gabrieljenik

2020-08-20 01:33

manager   ~59541

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

user225042

2020-08-20 12:56

  ~59553

Tested the issue before pulling the PR, Issue exist. Tested the issue after pulling the PR, below are my findings:
Screenshot 1:Before the PR, the bootstrap buttons are not aligned properly
Screenshot 2:After the PR, the bootstrap buttons are aligned properly and displayed
Please refer the attachment for more details, Working as expected

gabrieljenik

gabrieljenik

2020-08-27 15:37

manager   ~59643

PR from @DenisChenu is better https://github.com/LimeSurvey/LimeSurvey/pull/1561

cdorin

cdorin

2020-09-15 18:13

reporter   ~59838

Ok, we will go for it then :) . Marked it for merge in PR section

DenisChenu

DenisChenu

2020-09-17 11:27

developer   ~59860

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30464

DenisChenu

DenisChenu

2020-09-18 09:06

developer   ~59867

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

lime_release_bot

lime_release_bot

2020-09-21 14:54

administrator   ~59901

Fixed in Release 4.3.17+200921

Related Changesets

LimeSurvey: 3.x-LTS 81390e26

2020-08-24 18:01:05

DenisChenu

Details Diff
Fixed issue 16373 : Bootstrap Buttons not aligned when filtered
Dev: id to the wrapper, the id is hidden
Affected Issues
16373
mod - themes/question/bootstrap_buttons/survey/questions/answer/listradio/assets/scripts/bootstrapbuttons.js Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/listradio/rows/answer_row.twig Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/multiplechoice/config.xml Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/multiplechoice/rows/answer_row.twig Diff File

LimeSurvey: master 3034e70e

2020-08-24 18:01:05

DenisChenu

Details Diff
Fixed issue 16373 : Bootstrap Buttons not aligned when filtered
Dev: id to the wrapper, the id is hidden
Dev: cherry-picked
Affected Issues
16373
mod - themes/question/bootstrap_buttons/survey/questions/answer/listradio/assets/scripts/bootstrapbuttons.js Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/listradio/rows/answer_row.twig Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/multiplechoice/config.xml Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/multiplechoice/rows/answer_row.twig Diff File

LimeSurvey: 3.x-LTS af3552b6

2020-09-17 11:27:38

ollehar1


Committer: GitHub Details Diff
Fixed issue 16373 : Bootstrap Buttons not aligned when filtered

Dev: Merge pull request #1561 from Shnoulle/3X_16373
Affected Issues
16373
mod - themes/question/bootstrap_buttons/survey/questions/answer/listradio/assets/scripts/bootstrapbuttons.js Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/listradio/rows/answer_row.twig Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/multiplechoice/config.xml Diff File
mod - themes/question/bootstrap_buttons/survey/questions/answer/multiplechoice/rows/answer_row.twig Diff File

Issue History

Date Modified Username Field Change
2020-06-09 15:24 Gustavo_Kremer New Issue
2020-06-09 15:24 Gustavo_Kremer File Added: Q1.JPG
2020-06-09 15:24 Gustavo_Kremer File Added: Q2.JPG
2020-06-09 15:24 Gustavo_Kremer File Added: limesurvey_survey_532314.lss
2020-07-06 14:26 user225042 Note Added: 58721
2020-07-06 14:26 user225042 Status new => confirmed
2020-07-29 23:06 cdorin Zoho Sprints => |Yes|
2020-07-29 23:06 swendrich Zoho Sprints ID => 14469000000201073
2020-08-20 01:33 gabrieljenik Note Added: 59541
2020-08-20 12:56 user225042 Note Added: 59553
2020-08-20 12:56 user225042 File Added: 16373_Bootstrap Buttons.png
2020-08-27 15:37 gabrieljenik Note Added: 59643
2020-09-15 18:13 cdorin Note Added: 59838
2020-09-17 11:27 ollehar1 Changeset attached => LimeSurvey 3.x-LTS af3552b6
2020-09-17 11:27 DenisChenu Changeset attached => LimeSurvey 3.x-LTS 81390e26
2020-09-17 11:27 DenisChenu Note Added: 59860
2020-09-17 11:27 DenisChenu Assigned To => DenisChenu
2020-09-17 11:27 DenisChenu Resolution open => fixed
2020-09-18 09:06 DenisChenu Changeset attached => LimeSurvey master 3034e70e
2020-09-18 09:06 DenisChenu Note Added: 59867
2020-09-21 14:54 lime_release_bot Zoho Sprints Yes => |Yes|
2020-09-21 14:54 lime_release_bot Note Added: 59901
2020-09-21 14:54 lime_release_bot Status confirmed => closed