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

raeburn raeburn at source.lon-capa.org
Fri Jul 7 13:04:41 EDT 2017


raeburn		Fri Jul  7 17:04:41 2017 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - &extractParts() needs should retrieve parts information for problems in
    practice mode.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.530 loncom/interface/lonnavmaps.pm:1.531
--- loncom/interface/lonnavmaps.pm:1.530	Sat Apr  8 18:50:35 2017
+++ loncom/interface/lonnavmaps.pm	Fri Jul  7 17:04:40 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.530 2017/04/08 18:50:35 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.531 2017/07/07 17:04:40 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5106,7 +5106,7 @@
     my %parts;
 
     # Retrieve part count, if this is a problem
-    if ($self->is_problem()) {
+    if ($self->is_raw_problem()) {
 	my $partorder = &Apache::lonnet::metadata($self->src(), 'partorder');
         my $metadata = &Apache::lonnet::metadata($self->src(), 'packages');
 




More information about the LON-CAPA-cvs mailing list