Skip to content

Commit

Permalink
Score
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianAker committed May 8, 2002
1 parent f2ab411 commit bba466a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Search/Search.pm
Expand Up @@ -223,7 +223,7 @@ sub findStory {
$columns .= "users.nickname as nickname, stories.title as title, stories.sid as sid, ";
$columns .= "time, commentcount, stories.section as section,";
$columns .= "stories.tid as tid ";
$columns .= ", TRUNCATE((((MATCH (stories.title) AGAINST($query) + (MATCH (introtext,bodytext) AGAINST($query)))) / 2), 1) as scored "
$columns .= ", TRUNCATE((((MATCH (stories.title) AGAINST($query) + (MATCH (introtext,bodytext) AGAINST($query)))) / 2), 1) as score "
if ($form->{query} && $sort == 2);

my $tables = "stories,users";
Expand Down

0 comments on commit bba466a

Please sign in to comment.