[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Thu Mar 17 09:51:28 EDT 2016
raeburn Thu Mar 17 13:51:28 2016 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
- Bug 6763. For timed event at map level, restrict count of untried
parts to problems in the map.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.441 loncom/interface/lonmenu.pm:1.442
--- loncom/interface/lonmenu.pm:1.441 Wed Mar 16 13:54:06 2016
+++ loncom/interface/lonmenu.pm Thu Mar 17 13:51:28 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.441 2016/03/16 13:54:06 raeburn Exp $
+# $Id: lonmenu.pm,v 1.442 2016/03/17 13:51:28 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1602,7 +1602,7 @@
my @resources=();
if ($type eq 'map') {
my ($mapurl,$rid,$resurl)=&Apache::lonnet::decode_symb($env{'request.symb'});
- @resources=$navmap->retrieveResources(undef,sub { $_[0]->is_problem() },1,0);
+ @resources=$navmap->retrieveResources($mapurl,sub { $_[0]->is_problem() });
} else {
my $res = $navmap->getBySymb($env{'request.symb'});
if (ref($res)) {
More information about the LON-CAPA-cvs
mailing list