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

foxr lon-capa-cvs@mail.lon-capa.org
Mon, 26 Jun 2006 22:18:48 -0000


foxr		Mon Jun 26 18:18:48 2006 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  For now remove attempt to allow selection of sequences with subsequences.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.446 loncom/interface/lonprintout.pm:1.447
--- loncom/interface/lonprintout.pm:1.446	Mon Jun 26 18:16:06 2006
+++ loncom/interface/lonprintout.pm	Mon Jun 26 18:18:48 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.446 2006/06/26 22:16:06 foxr Exp $
+# $Id: lonprintout.pm,v 1.447 2006/06/26 22:18:48 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1805,9 +1805,6 @@
     }
     #  Fullname may have special latex characters that need \ prefixing:
     #
-#    &Apache::lonnet::logthis("Prior to latex escape: $fullname");
-#    $fullname = &escape_LaTeX($fullname);
-#    &Apache::lonnet::logthis("After escape $fullname");
 
     my $i           = 0;
     #goes through all resources, checks if they are available for 
@@ -2548,7 +2545,7 @@
       <nextstate>CHOOSE_FROM_ANY_SEQUENCE</nextstate>
       <filterfunc>return \$res->is_sequence;</filterfunc>
       <valuefunc>return $urlValue;</valuefunc>
-      <choicefunc>return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },1,0);
+      <choicefunc>return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },0,0);
 	</choicefunc>
       </resource>
     </state>