Moodle

Can't set a quiz to one question per page

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.6
  • Fix Version/s: 1.6.1
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_16_STABLE
  • Fixed Branches:
    MOODLE_16_STABLE

Description

I have a quiz with five questions, originally set to unlimited questions per page. If I change it to one (1) question, it still displays all questions on one page.

I believe the problem is in '/mod/quiz/locallib.php' in the function 'quiz_repaginate'. It checks if the counter is greater than the perpage setting. For 1, these are equal.

Activity

Hide
Tim Hunt added a comment -

It is rather confusing, but canging the quiz setting only affects newly added questions. Instead, you need to go to the quiz editing page, turn on "show page breaks", then "repaginate".

Show
Tim Hunt added a comment - It is rather confusing, but canging the quiz setting only affects newly added questions. Instead, you need to go to the quiz editing page, turn on "show page breaks", then "repaginate".

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: