summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-03-21 14:59:01 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-03-21 14:59:01 +0100
commitf19bc912f3d45ac6316fd005ce1053e167767e42 (patch)
tree2bc6498d90f89f4008c62caf4cd960712fc595d7 /extensions
parent3c0fdb1b2916e03513fb0833627bd1216c32ae0f (diff)
downloadbugzilla-f19bc912f3d45ac6316fd005ce1053e167767e42.tar.gz
bugzilla-f19bc912f3d45ac6316fd005ce1053e167767e42.tar.xz
Bug 853328 - product/component searching should also search the product's description.
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ProdCompSearch/lib/WebService.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/ProdCompSearch/lib/WebService.pm b/extensions/ProdCompSearch/lib/WebService.pm
index dea2e5e51..2e2592879 100644
--- a/extensions/ProdCompSearch/lib/WebService.pm
+++ b/extensions/ProdCompSearch/lib/WebService.pm
@@ -63,7 +63,8 @@ sub prod_comp_search {
my $sql_word = $dbh->quote($word);
trick_taint($sql_word);
# note: CONCAT_WS is MySQL specific
- my $field = "CONCAT_WS(' ', products.name, components.name, components.description)";
+ my $field = "CONCAT_WS(' ', products.name, products.description,
+ components.name, components.description)";
push(@list, $dbh->sql_iposition($sql_word, $field) . " > 0");
}
}