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

raeburn raeburn at source.lon-capa.org
Sun Dec 30 10:58:20 EST 2018


raeburn		Sun Dec 30 15:58:20 2018 EDT

  Modified files:              
    /loncom/interface	lonnavdisplay.pm 
  Log:
  - Bug 6885
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.36 loncom/interface/lonnavdisplay.pm:1.37
--- loncom/interface/lonnavdisplay.pm:1.36	Sat Apr 14 02:29:44 2018
+++ loncom/interface/lonnavdisplay.pm	Sun Dec 30 15:58:20 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Display Handler
 #
-# $Id: lonnavdisplay.pm,v 1.36 2018/04/14 02:29:44 raeburn Exp $
+# $Id: lonnavdisplay.pm,v 1.37 2018/12/30 15:58:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -257,7 +257,7 @@
                      ."</span>");
         }
     } else {
-        my $link = 'navmaps?jumpToFirstHomework';
+        my $link = '/adm/navmaps?jumpToFirstHomework';
         if ($env{'form.register'}) {
             $link .= '&register='.$env{'form.register'}; 
         }
@@ -280,7 +280,7 @@
         $filterFunc = sub { my $res = shift; 
                             return $res->completable() || $res->is_map();
                         };
-        my $link = 'navmaps?sort='.$env{'form.sort'};
+        my $link = '/adm/navmaps?sort='.$env{'form.sort'};
         if ($env{'form.register'}) {
             $link .= '&register='.$env{'form.register'};
         }
@@ -292,7 +292,7 @@
         $env{'form.condition'} = 1;
 	$resource_no_folder_link = 1;
     } else {
-        my $link = 'navmaps?sort='.$env{'form.sort'}.'&showOnlyHomework=1';
+        my $link = '/adm/navmaps?sort='.$env{'form.sort'}.'&showOnlyHomework=1';
         if ($env{'form.register'}) {
             $link .= '&register='.$env{'form.register'};
         }




More information about the LON-CAPA-cvs mailing list