From fb140a160e90436eddf316820dbf200d65797e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Perales?= Date: Tue, 26 Jul 2011 13:26:31 -0500 Subject: [PATCH] default sorting glossary terms: ASC --- main/inc/lib/glossary.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/glossary.lib.php b/main/inc/lib/glossary.lib.php index ab35729d0c..2a16df0d02 100755 --- a/main/inc/lib/glossary.lib.php +++ b/main/inc/lib/glossary.lib.php @@ -367,7 +367,7 @@ class GlossaryManager { $condition_session = api_get_session_condition($session_id, true, true); $column = intval($column); if (!in_array($direction,array('DESC', 'ASC'))) { - $direction = 'DESC'; + $direction = 'ASC'; } $from = intval($from); $number_of_items = intval($number_of_items);