[LON-CAPA-cvs] cvs: loncom /interface lonsearchcourse.pm
raeburn
raeburn at source.lon-capa.org
Tue Apr 16 17:09:14 EDT 2024
raeburn Tue Apr 16 21:09:14 2024 EDT
Modified files:
/loncom/interface lonsearchcourse.pm
Log:
- $rid set to the capture variable from the regex, so use it in place of $1.
Index: loncom/interface/lonsearchcourse.pm
diff -u loncom/interface/lonsearchcourse.pm:1.13 loncom/interface/lonsearchcourse.pm:1.14
--- loncom/interface/lonsearchcourse.pm:1.13 Mon Feb 12 03:39:38 2024
+++ loncom/interface/lonsearchcourse.pm Tue Apr 16 21:09:14 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Course
#
-# $Id: lonsearchcourse.pm,v 1.13 2024/02/12 03:39:38 raeburn Exp $
+# $Id: lonsearchcourse.pm,v 1.14 2024/04/16 21:09:14 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -151,8 +151,8 @@
(($listed eq 'absent') || ($listed eq 'grades')));
}
}
- my $symb=&make_symb($1);
- &checkonthis($r,$1,$hash{$key},0,&Apache::lonnet::gettitle($symb),
+ my $symb=&make_symb($rid);
+ &checkonthis($r,$rid,$hash{$key},0,&Apache::lonnet::gettitle($symb),
$fulltext,$symb,$target, at allwords);
}
}
More information about the LON-CAPA-cvs
mailing list