Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30828 mod_feedback: fixed sorting when viewing responses

  • Loading branch information...
commit a5448b3f6b713ef23c2fc2bca148269b9a1de82b 1 parent 216f6d8
@andyjdavis andyjdavis authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  mod/feedback/lib.php
  2. +1 −1  mod/feedback/show_entries.php
View
2  mod/feedback/lib.php
@@ -958,7 +958,7 @@ function feedback_get_complete_users($cm,
}
$ufields = user_picture::fields('u');
- $sql = 'SELECT DISTINCT '.$ufields.'
+ $sql = 'SELECT DISTINCT '.$ufields.', c.timemodified as completed_timemodified
FROM {user} u, {feedback_completed} c '.$fromgroup.'
WHERE '.$where.' anonymous_response = :anon
AND u.id = c.userid
View
2  mod/feedback/show_entries.php
@@ -122,7 +122,7 @@
$baseurl = new moodle_url('/mod/feedback/show_entries.php');
$baseurl->params(array('id'=>$id, 'do_show'=>$do_show, 'showall'=>$showall));
- $tablecolumns = array('userpic', 'fullname', 'c.timemodified');
+ $tablecolumns = array('userpic', 'fullname', 'completed_timemodified');
$tableheaders = array(get_string('userpic'), get_string('fullnameuser'), get_string('date'));
if (has_capability('mod/feedback:deletesubmissions', $context)) {
Please sign in to comment.
Something went wrong with that request. Please try again.