forked from Cavemanon/cavepaintings
Slightly major rework of the search code internals, makes things more sane and fixes a couple of bugs
git-svn-id: file:///home/shish/svn/shimmie2/trunk@867 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -64,7 +64,7 @@ class NumericScore extends Extension {
|
||||
if(preg_match("/score(<|=|>)(\d+)/", $event->term, $matches)) {
|
||||
$cmp = $matches[1];
|
||||
$score = $matches[2];
|
||||
$event->set_querylet(new Querylet("AND (numeric_score $cmp $score)"));
|
||||
$event->set_querylet(new Querylet("numeric_score $cmp $score"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user