[svn r13299] Removed order possibility from columns where it doesn't work

Reversed order (now sticks to the arrow direction)
skala
Yannick Warnier 17 years ago
parent 75f0f86399
commit d4d2565989
  1. 8
      main/tracking/courseLog.php

@ -476,15 +476,15 @@ else {
if(count($a_students)>0)
{
$table = new SortableTable('tracking', 'count_student_in_course');
$table -> set_header(0, get_lang('OfficialCode'), true, 'align="center"');
$table -> set_header(0, get_lang('OfficialCode'), false, 'align="center"');
$table -> set_header(1, get_lang('LastName'), true, 'align="center"');
$table -> set_header(2, get_lang('FirstName'), true, 'align="center"');
$table -> set_header(2, get_lang('FirstName'), false, 'align="center"');
$table -> set_header(3, get_lang('Time'),false);
$table -> set_header(4, get_lang('Progress'),false);
$table -> set_header(5, get_lang('Score'),false);
$table -> set_header(6, get_lang('Student_publication'),false);
$table -> set_header(7, get_lang('Messages'),false);
$table -> set_header(8, get_lang('LatestLogin'), true, 'align="center"');
$table -> set_header(8, get_lang('LatestLogin'), false, 'align="center"');
$table -> set_header(9, get_lang('Details'),false);
if($export_csv)
@ -540,7 +540,7 @@ else {
}
usort($all_datas, 'sort_users');
if($tracking_direction == 'ASC')
if($tracking_direction == 'DESC')
rsort($all_datas);
$page = $table->get_pager()->getCurrentPageID();

Loading…
Cancel
Save