[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /interface lonsearchcourse.pm
From: raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2024-02-11 21:41:48
Message-ID: cvsraeburn1707687708 () cvsserver
[Download RAW message or body]
raeburn Sun Feb 11 21:41:48 2024 EDT
Modified files:
/loncom/interface lonsearchcourse.pm
Log:
- In list of matches in course search, if matched item is a folder set link
to display listing of folder contents, when encryptedurl in effect.
Index: loncom/interface/lonsearchcourse.pm
diff -u loncom/interface/lonsearchcourse.pm:1.9 loncom/interface/lonsearchcourse.pm:1.10
--- loncom/interface/lonsearchcourse.pm:1.9 Sun Feb 11 20:40:37 2024
+++ loncom/interface/lonsearchcourse.pm Sun Feb 11 21:41:48 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Course
#
-# $Id: lonsearchcourse.pm,v 1.9 2024/02/11 20:40:37 raeburn Exp $
+# $Id: lonsearchcourse.pm,v 1.10 2024/02/11 21:41:48 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -269,7 +269,7 @@
my $href=$url;
if ($hash{'encrypted_'.$id} && !$env{'request.role.adv'}) {
$href=&Apache::lonenc::encrypted($href);
- if ($href =~ /\.sequence$/) {
+ if ($url =~ /\.sequence$/) {
$href .= '?navmap=1';
} else {
$href .= '?symb='.&Apache::lonenc::encrypted($symb);
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic