--- loncom/interface/lonsearchcat.pm 2004/05/09 22:55:17 1.225 +++ loncom/interface/lonsearchcat.pm 2004/05/10 13:06:29 1.226 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.225 2004/05/09 22:55:17 matthew Exp $ +# $Id: lonsearchcat.pm,v 1.226 2004/05/10 13:06:29 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1400,7 +1400,7 @@ sub parse_advanced_search { $pretty_search_string .= $pretty_domains_string."
\n"; # if (@queries) { - $query="SELET * FROM metadata WHERE ".join(" AND ",@queries); + $query="SELECT * FROM metadata WHERE ".join(" AND ",@queries); } elsif ($customquery) { $query = ''; } @@ -1600,9 +1600,7 @@ sub build_SQL_query { -build => 'Text::Query::Build'); $q->prepare($logic_statement); my $matchexp=${$q}{'matchexp'}; chomp $matchexp; - &Apache::lonnet::logthis('matchexp = '.$matchexp); my $sql_query=&recursive_SQL_query_build($field_name,$matchexp); - &Apache::lonnet::logthis('sql_query = '.$sql_query); return $sql_query; } @@ -2972,7 +2970,7 @@ sub detailed_citation_view { { name=>'goto_list', type => 'list', translate => 'Resources that follow this resource in maps',}, - { name=>'usage_list', + { name=>'sequsage_list', type => 'list', translate => 'Resources using or importing resource',}, ) {