summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-15 13:13:29 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-15 13:13:29 +0200
commited9e593a9324dffd0d2c0087889e4b6798e25f2f (patch)
tree744c3bfe72340d8c984b2846f53ca4a787f23d50 /buglist.cgi
parenta8577a8e73b15608c09f70b9c326196832934407 (diff)
downloadbugzilla-ed9e593a9324dffd0d2c0087889e4b6798e25f2f.tar.gz
bugzilla-ed9e593a9324dffd0d2c0087889e4b6798e25f2f.tar.xz
Bug 577800: Finish the cleanup of Search.pm's "init" function by removing
it and having its work be done by a new "sql" accessor instead. Also adds some comments, moves functions around into sections, and creates a new _user accessor. r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 1972dd5b3..878d13d71 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -851,7 +851,7 @@ my @orderstrings = split(/,\s*/, $order);
my $search = new Bugzilla::Search('fields' => \@selectcolumns,
'params' => $params,
'order' => \@orderstrings);
-my $query = $search->getSQL();
+my $query = $search->sql;
$vars->{'search_description'} = $search->search_description;
if (defined $cgi->param('limit')) {