Skip to content

Commit

Permalink
Item9939: add test specifically for scope=topic, and fix it in mongo …
Browse files Browse the repository at this point in the history
…SearchAlgo

git-svn-id: http://svn.foswiki.org/trunk/MongoDBPlugin@9827 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Nov 3, 2010
1 parent 54ba499 commit 05a75f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Foswiki/Store/SearchAlgorithms/MongoDB.pm
Expand Up @@ -265,6 +265,8 @@ sub _webQuery {
$ixhQuery->Push( '_raw_text' => $raw_text_regex ) if defined($raw_text_regex);
}
}
} else {
$ixhQuery->Push( '_topic' => $topic_regex ) if defined($topic_regex);
}

} #end foreach
Expand Down

0 comments on commit 05a75f7

Please sign in to comment.