summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-07 02:13:46 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-07 02:13:46 +0200
commit333b8fcbaad05e5e3ab01a897529560dea37dd53 (patch)
tree7082f8e981412dcf053c8d9554f56785ea7327d8 /Bugzilla/Install
parent569c6b69a7cb3c458279efbdfed1b104cd3d9ae5 (diff)
downloadbugzilla-333b8fcbaad05e5e3ab01a897529560dea37dd53.tar.gz
bugzilla-333b8fcbaad05e5e3ab01a897529560dea37dd53.tar.xz
Bug 552919: Sort group_concat results so that they sort correctly for buglists
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index ada500c58..d9a36b75b 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -3198,8 +3198,8 @@ sub _populate_bugs_fulltext {
q{INSERT INTO bugs_fulltext (bug_id, short_desc, comments,
comments_noprivate)
SELECT bugs.bug_id, bugs.short_desc, }
- . $dbh->sql_group_concat('longdescs.thetext', $newline)
- . ', ' . $dbh->sql_group_concat('nopriv.thetext', $newline) .
+ . $dbh->sql_group_concat('longdescs.thetext', $newline, 0)
+ . ', ' . $dbh->sql_group_concat('nopriv.thetext', $newline, 0) .
qq{ FROM bugs
LEFT JOIN longdescs
ON bugs.bug_id = longdescs.bug_id