simplified the rules engine

This commit is contained in:
JT Smith 2006-01-27 07:25:14 +00:00
parent 5037b16dbe
commit 394da51da7
5 changed files with 184 additions and 42 deletions

View file

@ -117,7 +117,7 @@ sub searchSite {
my $keywords = shift;
my $t = [Time::HiRes::gettimeofday()];
my $search = WebGUI::Search->new($session, 0);
$search->search({keywords=>{terms=>[$keywords]}});
$search->search({keywords=>$keywords});
my $rs = $search->getResultSet;
while (my $data = $rs->hashRef) {
print $data->{assetId}."\t".$data->{title}."\n";