From ecf9e2f59dc8d1c8f2e9e17319613367a0d7c87e Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Thu, 5 Sep 2013 11:46:50 +0000 Subject: [PATCH] Bug 801284: whine.pl should use DEFAULT_COLUMN_LIST as the default column list instead of its hardcoded list r=LpSolit a=sgreen git-svn-id: svn://10.0.0.236/trunk@265000 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/whine.pl | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 498b9475ed6..1a130431e43 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8730 \ No newline at end of file +8731 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/whine.pl b/mozilla/webtools/bugzilla/whine.pl index f7ed6d5c7d7..d8cc39174d7 100755 --- a/mozilla/webtools/bugzilla/whine.pl +++ b/mozilla/webtools/bugzilla/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.