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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 03 Jun 2003 18:14:07 -0000


matthew		Tue Jun  3 14:14:07 2003 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  Title for course level sequence was not being returned by the $top_level_map.
  Set it explicitly to course description.
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.75 loncom/interface/loncoursedata.pm:1.76
--- loncom/interface/loncoursedata.pm:1.75	Mon Jun  2 13:18:33 2003
+++ loncom/interface/loncoursedata.pm	Tue Jun  3 14:14:07 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursedata.pm,v 1.75 2003/06/02 17:18:33 matthew Exp $
+# $Id: loncoursedata.pm,v 1.76 2003/06/03 18:14:07 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -121,7 +121,7 @@
     ## We are going to loop until we run out of sequences/pages to explore for
     ## resources.  This means we have to start out with something to look
     ## at.
-    my $title = $top_level_map->title();
+    my $title = $ENV{'course.'.$ENV{'request.course.id'}.'.description'};
     my $symb  = $top_level_map->symb();
     my $src   = $top_level_map->src();
     my $randompick = $top_level_map->randompick();