Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-31814_21' of git://github.com/timhunt/moodle into M…

…OODLE_21_STABLE
  • Loading branch information...
commit 2aa58eb6ce02b928b5d73475152e17211320729c 2 parents 2e61a81 + c3574e4
Dan Poltawski danpoltawski authored

Showing 2 changed files with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  mod/quiz/editlib.php
  2. +2 0  question/editlib.php
2  mod/quiz/editlib.php
@@ -1141,6 +1141,8 @@ protected function wanted_columns() {
1141 1141 }
1142 1142
1143 1143 protected function default_sort() {
  1144 + $this->requiredcolumns['qtype'] = $this->knowncolumntypes['qtype'];
  1145 + $this->requiredcolumns['questionnametext'] = $this->knowncolumntypes['questionnametext'];
1144 1146 return array('qtype' => 1, 'questionnametext' => 1);
1145 1147 }
1146 1148
2  question/editlib.php
@@ -1033,6 +1033,8 @@ protected function sort_to_params($sorts) {
1033 1033 }
1034 1034
1035 1035 protected function default_sort() {
  1036 + $this->requiredcolumns['qtype'] = $this->knowncolumntypes['qtype'];
  1037 + $this->requiredcolumns['questionname'] = $this->knowncolumntypes['questionname'];
1036 1038 return array('qtype' => 1, 'questionname' => 1);
1037 1039 }
1038 1040

0 comments on commit 2aa58eb

Please sign in to comment.
Something went wrong with that request. Please try again.