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

raeburn raeburn@source.lon-capa.org
Thu, 01 Jul 2010 00:08:28 -0000


raeburn		Thu Jul  1 00:08:28 2010 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Bug 6315.
    - Display intermediate folders in map hierarchy, when choosing folder 
      in Overview Mode or Table mode, even if they only contain 
      another folder, and are therefore suppressed in NAVMAPS (Course Contents).
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.498 loncom/interface/lonparmset.pm:1.499
--- loncom/interface/lonparmset.pm:1.498	Fri Jun 18 11:11:08 2010
+++ loncom/interface/lonparmset.pm	Thu Jul  1 00:08:28 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.498 2010/06/18 11:11:08 bisitz Exp $
+# $Id: lonparmset.pm,v 1.499 2010/07/01 00:08:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1685,13 +1685,13 @@
 }
 
 sub mapmenu {
-    my ($r,$allmaps,$pschp,$maptitles, $symbp)=@_;
+    my ($r,$allmaps,$pschp,$maptitles,$symbp)=@_;
     my %allmaps_inverted = reverse %$allmaps;
     my $navmap = Apache::lonnavmaps::navmap->new();
     my $tree=[];
     my $treeinfo={};
     if (defined($navmap)) {
-        my $it=$navmap->getIterator(undef,undef,undef,1,undef,undef);
+        my $it=$navmap->getIterator(undef,undef,undef,1,1,undef);
         my $curRes;
         my $depth = 0;
         my %parent = ();