[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

raeburn raeburn at source.lon-capa.org
Thu Jan 18 00:09:28 EST 2018


raeburn		Thu Jan 18 05:09:28 2018 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - Bug 6754 LON-CAPA as LTI Consumer
    Support for access control using slots for external tools set to be 
    "gradable".
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.268 loncom/homework/bridgetask.pm:1.269
--- loncom/homework/bridgetask.pm:1.268	Fri Dec 22 02:00:39 2017
+++ loncom/homework/bridgetask.pm	Thu Jan 18 05:09:28 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.268 2017/12/22 02:00:39 raeburn Exp $
+# $Id: bridgetask.pm,v 1.269 2018/01/18 05:09:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -123,7 +123,7 @@
     my ($symb) = &Apache::lonnet::whichuser();
     my ($map)  = &Apache::lonnet::decode_symb($symb);
     my @resources = 
-	$navmap->retrieveResources($map, sub { $_[0]->is_problem() },0,0);
+	$navmap->retrieveResources($map, sub { $_[0]->is_problem() || $_[0]->is_gradable() },0,0);
     my %old_history = %Apache::lonhomework::history;
     my %old_results = %Apache::lonhomework::results;
 




More information about the LON-CAPA-cvs mailing list