-
Bug
-
Resolution: Fixed
-
Critical
-
3.5.10, 3.6.8, 3.7.4, 3.8.1
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67894-master -
At the "Show responses" page is a column "Groups". This column is defined as "sortable" and can be clicked. But if you click it a database error is show because there is no column "groups" in the SELECT statement called "groups".
Test instructions to reproduce:
You need a user who is enroled as student in the course you are testing with.
- Log in as trainer in your course.
- Create a new feedback instance.
- Define the "Question and submission settings" as "User's name will be logged and shown with answers".
- After saving open this instance and create at least one new question.
- Log in as a student and complete this feedback.
- Log in as trainer again.
- Open the feedback instance and click on "Show responses".
- You will see the table with the at least one response you've made before.
- Click on the column head "Groups" to sort this table by groups.
- The database error message appears.