--- loncom/interface/lonindexer.pm 2018/08/07 17:41:40 1.228 +++ loncom/interface/lonindexer.pm 2020/09/03 15:38:51 1.230 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.228 2018/08/07 17:41:40 raeburn Exp $ +# $Id: lonindexer.pm,v 1.230 2020/09/03 15:38:51 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -721,7 +721,7 @@ sub scanDir { } if ($udom ne '' && $uname ne '') { # Don't display "course author" directory. - next if (&Apache::lonnet::is_course($udom.'_'.$uname)); + next if (&Apache::lonnet::is_course($udom,$uname)); } } my (@fileparts) = split(/\./,$strip); @@ -1121,8 +1121,13 @@ $r->print ('print (" $listname "); + $r->print (" $listname "); $quotable_filelink = &Apache::loncommon::escape_single($filelink.'.meta'); &Apache::loncommon::inhibit_menu_check(\$quotable_filelink); $r->print (" (".&mt('metadata').") ");