summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authormyk%mozilla.org <>2005-07-15 11:05:08 +0200
committermyk%mozilla.org <>2005-07-15 11:05:08 +0200
commit5a7981bbfcf51569e5f59fd75d89ea838f681e75 (patch)
treeb6115a27a2ab19e0b604bdf111c7cf305a17cb13 /Bugzilla/Search.pm
parent93cc71342eebb7aa6211b446ecc64049c0f3dc1e (diff)
downloadbugzilla-5a7981bbfcf51569e5f59fd75d89ea838f681e75.tar.gz
bugzilla-5a7981bbfcf51569e5f59fd75d89ea838f681e75.tar.xz
Fix for bug 232612: enables boolean mode fulltext searches for better searching capabilities in the "Find a Specific Bug" page;
r=lpsolit
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 710334049..96f38fc06 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -582,10 +582,8 @@ sub init {
# $term1 searches comments.
# $term2 searches summaries, which contributes to the relevance
# ranking in SELECT but doesn't limit which bugs get retrieved.
- my $term1 = $dbh->sql_fulltext_search("${table}.thetext",
- ::SqlQuote($v));
- my $term2 = $dbh->sql_fulltext_search("bugs.short_desc",
- ::SqlQuote($v));
+ my $term1 = $dbh->sql_fulltext_search("${table}.thetext", $v);
+ my $term2 = $dbh->sql_fulltext_search("bugs.short_desc", $v);
# The term to use in the WHERE clause.
$term = "$term1 > 0";