From 89b15c8ff86238276de3428c379e46f7c04b6516 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 7 Jul 2009 18:16:51 +0000 Subject: Bug 491467: Make Search.pm and buglist.cgi consistently take column ids for the "fields" and "order" arguments, to prevent problems with using SQL fragments in the order and columnlist. Patch by Max Kanat-Alexander r=wicked, a=mkanat --- duplicates.cgi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'duplicates.cgi') diff --git a/duplicates.cgi b/duplicates.cgi index 06334e22b..af239d632 100755 --- a/duplicates.cgi +++ b/duplicates.cgi @@ -199,14 +199,14 @@ if (scalar(%count)) { $params->param('product', join(',', @query_products)); } - my $query = new Bugzilla::Search('fields' => [qw(bugs.bug_id - map_components.name - bugs.bug_severity - bugs.op_sys - bugs.target_milestone - bugs.short_desc - bugs.bug_status - bugs.resolution + my $query = new Bugzilla::Search('fields' => [qw(bug_id + component + bug_severity + op_sys + target_milestone + short_desc + bug_status + resolution ) ], 'params' => $params, -- cgit v1.2.3-24-g4f1b