Browse Source

[svn r13330] repair the sort of the table (please don't ask me why I have to use natcasesort($all_datas);

Eric Marguin 17 years ago
parent
commit
72a598bbcf
1 changed files with 3 additions and 1 deletions
  1. 3 1
      main/tracking/courseLog.php

+ 3 - 1
main/tracking/courseLog.php

@@ -540,9 +540,11 @@ else {
 		}
 		
 		usort($all_datas, 'sort_users');
+		natcasesort($all_datas);
 		if($tracking_direction == 'DESC')
+		{
 			rsort($all_datas);
-		
+		}
 		$page = $table->get_pager()->getCurrentPageID();
 		$all_datas = array_slice($all_datas, ($page-1)*$table -> per_page, $table -> per_page);