Moodle

Quiz navigation - scrolling down the page to a particular question does not work with random qs

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Questions, Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Related to MDL-15452.

I think the problem is that the wrong id is used in the target anchor. There was a similar problem with the manual grading link, so this should be easy to fix.

Activity

Hide
Tim Hunt added a comment -

$question_to_comment = isset($question->randomquestionid) ? $question->randomquestionid : $question->id;

is the relevant bit.

Show
Tim Hunt added a comment - $question_to_comment = isset($question->randomquestionid) ? $question->randomquestionid : $question->id; is the relevant bit.
Hide
Tim Hunt added a comment -

Also, when a teacher reviews an open quiz attempt, they see the question as editable, not read only.

Show
Tim Hunt added a comment - Also, when a teacher reviews an open quiz attempt, they see the question as editable, not read only.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: