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

foxr foxr at source.lon-capa.org
Tue Nov 20 07:01:54 EST 2012


foxr		Tue Nov 20 12:01:54 2012 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  BZ6607 - typo filtered out problems from the list of problems :-(
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.620 loncom/interface/lonprintout.pm:1.621
--- loncom/interface/lonprintout.pm:1.620	Fri Oct 12 13:48:08 2012
+++ loncom/interface/lonprintout.pm	Tue Nov 20 12:01:54 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.620 2012/10/12 13:48:08 raeburn Exp $
+# $Id: lonprintout.pm,v 1.621 2012/11/20 12:01:54 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2605,6 +2605,8 @@
 #  For item 100, filtering was done at the helper level.
 
 sub output_data {
+    &Apache::lonnet::logthis("outptu_data");
+
     my ($r,$helper,$rparmhash) = @_;
     my %parmhash = %$rparmhash;
     $ssi_error = 0;		# This will be set nonzero by failing ssi's.
@@ -2878,7 +2880,8 @@
 	     ($print_type eq 'select_sequences')      or
 	     ($print_type eq 'map_incomplete_problems_seq')
 	     ) {
-
+	&Apache::lonnet::logthis("map_problems maybe");
+	&Apache::lonnet::logthis($print_type eq 'map_problems' ? " Yes" : "No");
  
         #-- produce an output string
 	if (($print_type eq 'map_problems')                or
@@ -3533,7 +3536,6 @@
     my $namepostfix = "\\\\";	# Both anon and not anon should get the same vspace.
 
 
-
     #
     # Figure out if we need to filter the output by
     # the incomplete problems for that person
@@ -3800,7 +3802,7 @@
     }
     
     &init_perm();
-
+    &Apache::lonnet::logthis("Handler");
     my $helper = printHelper($r);
     if (!ref($helper)) {
 	return $helper;
@@ -4219,7 +4221,7 @@
 							    'RESOURCES',
 							    'PAGESIZE',
 							    $map,
-							    !							$isProblem, '',
+							    $isProblem, '',
 							    $symbFilter,
 							    $start_new_option);
 	    $helperFragment .= &generate_resource_chooser('CHOOSE_PROBLEMS_HTML',




More information about the LON-CAPA-cvs mailing list