Fixing column order when using author or date see BT#1672

skala
Julio Montoya 14 years ago
parent cf4dbd80a7
commit f49c0e94e6
  1. 10
      main/work/work.lib.php

@ -415,10 +415,16 @@ function display_student_publications_list($work_dir, $sub_course_dir, $currentC
$i++;
}
if ($count_files != 0) {
$column_order[2] = 5;
if ($sub_course_dir == '/work') {
$column_order[2] = 2;
} else {
//$column_order[2] = 5;
}
} else {
$column_order[1] = 4;
//$column_order[1] = 4;
$column_order[2] = 4;
}
$table_data = array();

Loading…
Cancel
Save