In the Analysis report, questions are numbered according to the position of a field in the questionnaire. Even though headings and other such fields are not displayed they are still assigned a number. This results in the questions not being numbered contiguously in the analysis report, e.g. 4,5,6,10,11,12,...

I attach a patch that will cause the questions to be numbered contiguously starting at 1. It just involves moving one line of code.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kevin.mcnamee@mailbox.org’s picture

quicksketch’s picture

Category: feature » bug
Priority: Normal » Minor
Status: Active » Reviewed & tested by the community

Thanks, looks valid to me. We'll need to port this to the Drupal 6 versions as well.

quicksketch’s picture

Status: Reviewed & tested by the community » Fixed

Turns out this problem does not affect 3.x, which now passes all the information to a separate theme function before rendering. Patch applies fine to both 2.x versions. Committed to D5/6 versions in that branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.