[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
raeburn
raeburn at source.lon-capa.org
Tue Jul 13 23:58:17 EDT 2021
raeburn Wed Jul 14 03:58:17 2021 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- &get_mapparam() retrieval of map-level parameter value.
Check if map-level parameter (recursive) is set for current map before
checking for recursive params for parent folder(s).
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.551 loncom/interface/lonnavmaps.pm:1.552
--- loncom/interface/lonnavmaps.pm:1.551 Thu Apr 29 17:45:22 2021
+++ loncom/interface/lonnavmaps.pm Wed Jul 14 03:58:17 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.551 2021/04/29 17:45:22 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.552 2021/07/14 03:58:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3243,6 +3243,9 @@
if (defined($$courseopt{$courselevelm})) {
return $$courseopt{$courselevelm};
}
+ if (defined($$courseopt{$courseleveli})) {
+ return $$courseopt{$courseleveli};
+ }
unless ($recursed) {
@recurseup = $self->recurseup_maps($mapname);
$recursed = 1;
More information about the LON-CAPA-cvs
mailing list