]> git.mjollnir.org Git - moodle.git/commitdiff
One default was causing author view not being able to sortby firstname or lastname.
authorstronk7 <stronk7>
Sat, 24 Mar 2007 00:38:26 +0000 (00:38 +0000)
committerstronk7 <stronk7>
Sat, 24 Mar 2007 00:38:26 +0000 (00:38 +0000)
Merged from MOODLE_18_STABLE

mod/glossary/view.php

index fcfada0fa8afecf1d741cd3d879ebf65461f81d1..5c3d6f8e74b3ea1a91295e0cf20c2dbded2388c4 100644 (file)
@@ -13,7 +13,7 @@
     $mode       = optional_param('mode', '', PARAM_ALPHA);           // term entry cat date letter search author approval
     $hook       = optional_param('hook', '', PARAM_CLEAN);           // the term, entry, cat, etc... to look for based on mode
     $fullsearch = optional_param('fullsearch', 0,PARAM_INT);         // full search (concept and definition) when searching?
-    $sortkey    = optional_param('sortkey', 'CREATION', PARAM_ALPHA);// Sorted view: CREATION | UPDATE | FIRSTNAME | LASTNAME...
+    $sortkey    = optional_param('sortkey', '', PARAM_ALPHA);// Sorted view: CREATION | UPDATE | FIRSTNAME | LASTNAME...
     $sortorder  = optional_param('sortorder', 'ASC', PARAM_ALPHA);   // it defines the order of the sorting (ASC or DESC)
     $offset     = optional_param('offset', 0,PARAM_INT);             // entries to bypass (for paging purposes)
     $page       = optional_param('page', 0,PARAM_INT);               // Page to show (for paging purposes)