[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 12 Aug 2004 05:44:37 -0000


albertel		Thu Aug 12 01:44:37 2004 EDT

  Modified files:              
    /loncom/interface	lonhelper.pm 
  Log:
  - BUG#3043, directory listing was in case sensitive order
  
  
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.84 loncom/interface/lonhelper.pm:1.85
--- loncom/interface/lonhelper.pm:1.84	Tue Aug  3 14:41:20 2004
+++ loncom/interface/lonhelper.pm	Thu Aug 12 01:44:36 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # .helper XML handler to implement the LON-CAPA helper
 #
-# $Id: lonhelper.pm,v 1.84 2004/08/03 18:41:20 albertel Exp $
+# $Id: lonhelper.pm,v 1.85 2004/08/12 05:44:36 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2461,7 +2461,7 @@
     }
 
     # Sort the fileList into order
-    @fileList = sort @fileList;
+    @fileList = sort {lc($a) cmp lc($b)} @fileList;
 
     $result .= $buttons;