Merge branch 'MDL-30828_feedback_sort_21' of git://github.com/andyjdavis/moodle into MOODLE_21_STABLE
This commit is contained in:
@@ -879,8 +879,11 @@ function feedback_get_complete_users($cm, $group = false, $where = '', array $pa
|
||||
}
|
||||
|
||||
$ufields = user_picture::fields('u');
|
||||
$sql = 'SELECT DISTINCT '.$ufields.' FROM {user} u, {feedback_completed} c '.$fromgroup.'
|
||||
WHERE '.$where.' anonymous_response = :anon AND u.id = c.userid AND c.feedback = :instance
|
||||
$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
|
||||
AND c.feedback = :instance
|
||||
'.$wheregroup.$sortsql;
|
||||
|
||||
if ($startpage === false OR $pagecount === false) {
|
||||
|
||||
@@ -104,7 +104,7 @@ if($do_show == 'showentries'){
|
||||
$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)) {
|
||||
|
||||
Reference in New Issue
Block a user