[LON-CAPA-cvs] cvs: loncom /interface lonsearchcourse.pm
raeburn
raeburn at source.lon-capa.org
Sun Feb 11 16:41:48 EST 2024
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);
More information about the LON-CAPA-cvs
mailing list