View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20841Bug reportsSurvey editingpublic2026-11-08 15:05
Reporterc_schmitz Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Summary20841: Reorder questions/question groups: question code shown twice and group ID in front of the group name
Description

The reorder page (surveyAdministration/organize) shows every question as "g1q1: [1] g1q1 This question ...": the code appears twice, and each group header as "13425 Group A", with the group ID in front of the name.

Cause, application/controllers/SurveyAdministrationController.php (organize data, around lines 2895-2910):

  • group_text is built as $oGroup->gid . " " . group_name.
  • The question text is built as sprintf("[{%s}] %s % s", relevance, title, question), so it already contains the code, and organizeGroupsAndQuestions_view.php line 51 prints the code again as a link in front of it ("title: question").

Expected: "g1q1: [1] This question ..." (or without the relevance) and "Group A".

Steps To Reproduce
  1. Open any survey with groups and questions in the classic editor.
  2. Overview questions & groups (or the survey menu) => Reorder questions/question groups.

Actual: code twice per question, group ID before the group name (screenshot).

TagsNo tags attached.
Attached Files
reorder.png (105,515 bytes)
Bug heat2
Complete LimeSurvey version number (& build)7.9.1
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 Versionnot relevant
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-08 15:05

administrator   ~87218

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

Related Changesets

LimeSurvey: master f2abb1f6

2026-11-08 15:04

c_schmitz


Details Diff
Fixed issue 20841: Reorder questions/question groups showed the question code twice and the group ID in front of the group name Affected Issues
20841
mod - application/controllers/SurveyAdministrationController.php Diff File

Issue History

Date Modified Username Field Change
2026-11-08 09:57 c_schmitz New Issue
2026-11-08 09:57 c_schmitz File Added: reorder.png
2026-11-08 15:05 c_schmitz Changeset attached => LimeSurvey master f2abb1f6
2026-11-08 15:05 c_schmitz Note Added: 87218
2026-11-08 15:05 c_schmitz Assigned To => c_schmitz
2026-11-08 15:05 c_schmitz Status new => resolved
2026-11-08 15:05 c_schmitz Resolution open => fixed
2026-11-08 15:05 guest Bug heat 0 => 2