From a84cc30018c4fbc7afec6797940bbaa4dec6e7d7 Mon Sep 17 00:00:00 2001 From: Edmund Wong Date: Thu, 5 Sep 2013 13:22:44 +0200 Subject: Bug 801284: whine.pl should use DEFAULT_COLUMN_LIST as the default column list instead of its hardcoded list r=LpSolit a=sgreen --- whine.pl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/whine.pl b/whine.pl index f7ed6d5c7..d8cc39174 100755 --- a/whine.pl +++ b/whine.pl @@ -422,16 +422,8 @@ sub run_queries { next unless $savedquery; # silently ignore missing queries # Execute the saved query - my @searchfields = qw( - bug_id - bug_severity - priority - rep_platform - assigned_to - bug_status - resolution - short_desc - ); + my @searchfields = ('bug_id', DEFAULT_COLUMN_LIST); + # A new Bugzilla::CGI object needs to be created to allow # Bugzilla::Search to execute a saved query. It's exceedingly weird, # but that's how it works. -- cgit v1.2.3-24-g4f1b