Browse Source

[svn r16189] FS#2730 : display users by alphabetic order

Julian Prud'homme 16 năm trước cách đây
mục cha
commit
15c8e7b9b8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/survey/survey_invite.php

+ 1 - 1
main/survey/survey_invite.php

@@ -100,7 +100,7 @@ if ($survey_data['invited'] > 0)
 // building the form for publishing the survey
 $form = new FormValidator('publish_form','post', api_get_self().'?survey_id='.$_GET['survey_id']);
 // Course users
-$complete_user_list = CourseManager :: get_user_list_from_course_code($_course['id'], true, $_SESSION['id_session']);
+$complete_user_list = CourseManager :: get_user_list_from_course_code($_course['id'], true, $_SESSION['id_session'], '', 'ORDER BY lastname');
 $possible_users = array ();
 foreach ($complete_user_list as $index => $user)
 {