View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
19282Bug reportsStatisticspublic2023-12-11 16:32
Reporterlukas.pitonak@queergeography.cz Assigned Totibor.pacalat  
PrioritynoneSeveritypartial_block 
Status resolvedResolutionfixed 
Product Version6.3.x 
Summary19282: Statistics of a survey: response filters disapear after first excel exported
Description

Hi,
when i open the statistics menu of a survey (this one is expired, but the same happens with the still running survey), select excel, to be exported, than the first export works fine. After the first export is downloaded, without even reloading the page of statistics, the whole content of the response filters accordion / tab disappear and only the title response filters remains. In previous versions, i admired the possibility to generate as many excel files as possible with only small changes in the response filters. Now i need to reload and click all the responses i wish to filter by for each export. That is slowing our work so much.

Steps To Reproduce

Steps to reproduce

In any survey, page statistics of the responses. Export any excel file. After downloading it, the tab with the response filters is now empty.

Expected result

The response filters should stay the same after the export, with all the options selected from the previous export, no?

Actual result

The response filters is empty, nothing visible

TagsNo tags attached.
Attached Files
Limesurvey.PNG (69,633 bytes)   
Limesurvey.PNG (69,633 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Verze 6.3.6+231120
I will donate to the project if issue is resolvedYes
BrowserChrome and Edge
Database type & versionMySQL
Server OS (if known)Linux six.ebola.cz 4.18.0-425.10.1.lve.el8.x86_64 #1 SMP Wed Jan 25 12:10:58 EST 2023 x86_64
Webserver software & version (if known)
PHP VersionPHP Version 8.0.30

Relationships

related to 19293 resolvedDenisChenu Can't take survey after adding language in PHP 8.1: PHP 8.1 Dump 

Users monitoring this issue

Activities

gabrieljenik

gabrieljenik

2023-11-29 16:03

manager   ~78806

Last edited: 2023-11-29 16:07

https://github.com/LimeSurvey/LimeSurvey/pull/3647

Found a php8.1 bug. Registered on 19293

DenisChenu

DenisChenu

2023-11-29 18:31

developer   ~78812

Why collapse when download a file, need collapse only for HTML statistics

In JS : why not do nothing if if xlsx or pdf (except if we have error)

gabrieljenik

gabrieljenik

2023-11-30 13:43

manager   ~78824

Why collapse when download a file, need collapse only for HTML statistics
In JS : why not do nothing if if xlsx or pdf (except if we have error)

That's coming from before. I believe it is out of the scope and not worth to tackle it right now.

DenisChenu

DenisChenu

2023-11-30 15:43

developer   ~78842

OK, then need to be reported as UX issue …

lukas.pitonak@queergeography.cz

lukas.pitonak@queergeography.cz

2023-12-01 09:29

reporter   ~78848

Hi guys, thank you for your imput. Is there anything i could help you with in this matter?

Thanks. Luky

DenisChenu

DenisChenu

2023-12-01 09:33

developer   ~78849

It's in testing,
You can test yourself the patch (if you know how to apply) : https://github.com/LimeSurvey/LimeSurvey/pull/3647
It was more easy for our test team to have multiple test.

lukas.pitonak@queergeography.cz

lukas.pitonak@queergeography.cz

2023-12-04 21:51

reporter   ~78873

Thank you Denis. I really don't know enough coding to trust myself in applying the patch, but from the notes around the patch it seams that you are sorting out why is the accordion closing or opening whereas I need to sort the bug of the accordion being empty after the XLS export.
I sorry if this was clear all along, just trying to help.
Thank you very much for your help. Lukas

DenisChenu

DenisChenu

2023-12-05 08:59

developer   ~78874

Thank you Denis. I really don't know enough coding to trust myself in applying the patch, but from the notes around the patch it seams that you are sorting out why is the accordion closing or opening whereas I need to sort the bug of the accordion being empty after the XLS export.

Yes : it was clear :)
But when testing : i saw we don't need to hide it for PDF or excel, only for HTML

Out test team test the patch before merging in the next release.

guest

guest

2023-12-11 16:32

viewer   ~78943

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

tibor.pacalat

tibor.pacalat

2023-12-11 16:32

administrator   ~78944

Tested and merged.

Related Changesets

LimeSurvey: master 264e4cd5

2023-12-11 16:32:09

Gabriel Jenik


Committer: GitHub Details Diff
Fixed issue 19282: Statistics of a survey - response filters disappear after first excel exported (03647)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Affected Issues
19282
mod - application/extensions/AccordionWidget/AccordionWidget.php Diff File
mod - application/extensions/AccordionWidget/views/accordion.php Diff File
mod - application/views/admin/export/statistics_subviews/_response_filter_choice.php Diff File
mod - application/views/admin/export/statistics_view.php Diff File
mod - assets/scripts/admin/statistics.js Diff File

Issue History

Date Modified Username Field Change
2023-11-26 17:49 lukas.pitonak@queergeography.cz New Issue
2023-11-26 17:49 lukas.pitonak@queergeography.cz File Added: limesurvey_survey_287994.lss
2023-11-26 17:49 lukas.pitonak@queergeography.cz File Added: Limesurvey.PNG
2023-11-26 17:50 lukas.pitonak@queergeography.cz Issue Monitored: lukas.pitonak@queergeography.cz
2023-11-26 17:50 lukas.pitonak@queergeography.cz Bug heat 0 => 2
2023-11-27 23:35 gabrieljenik Assigned To => gabrieljenik
2023-11-27 23:35 gabrieljenik Status new => assigned
2023-11-29 16:03 gabrieljenik Note Added: 78806
2023-11-29 16:03 gabrieljenik File Added: image.png
2023-11-29 16:03 gabrieljenik Bug heat 2 => 4
2023-11-29 16:04 gabrieljenik File Deleted: image.png
2023-11-29 16:05 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-11-29 16:05 gabrieljenik Status assigned => ready for code review
2023-11-29 16:05 gabrieljenik Issue cloned: 19293
2023-11-29 16:05 gabrieljenik Relationship added related to 19293
2023-11-29 16:07 gabrieljenik Note Edited: 78806
2023-11-29 18:31 DenisChenu Note Added: 78812
2023-11-29 18:31 DenisChenu Bug heat 4 => 6
2023-11-29 18:31 DenisChenu Assigned To DenisChenu => gabrieljenik
2023-11-29 18:31 DenisChenu Status ready for code review => in code review
2023-11-30 13:43 gabrieljenik Note Added: 78824
2023-11-30 15:43 DenisChenu Note Added: 78842
2023-11-30 15:44 DenisChenu Assigned To gabrieljenik => tibor.pacalat
2023-11-30 15:44 DenisChenu Status in code review => ready for testing
2023-12-01 09:29 lukas.pitonak@queergeography.cz Note Added: 78848
2023-12-01 09:29 lukas.pitonak@queergeography.cz Bug heat 6 => 8
2023-12-01 09:33 DenisChenu Note Added: 78849
2023-12-04 21:51 lukas.pitonak@queergeography.cz Note Added: 78873
2023-12-05 08:59 DenisChenu Note Added: 78874
2023-12-11 16:32 Changeset attached => LimeSurvey master 264e4cd5
2023-12-11 16:32 guest Note Added: 78943
2023-12-11 16:32 guest Bug heat 8 => 10
2023-12-11 16:32 tibor.pacalat Status ready for testing => resolved
2023-12-11 16:32 tibor.pacalat Resolution open => fixed
2023-12-11 16:32 tibor.pacalat Note Added: 78944
2023-12-11 16:32 tibor.pacalat Bug heat 10 => 12