From: Edmund Wong Date: Thu, 5 Sep 2013 11:22:44 +0000 (+0200) Subject: Bug 801284: whine.pl should use DEFAULT_COLUMN_LIST as the default column list instea... X-Git-Tag: bugzilla-4.5.1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a84cc30018c4fbc7afec6797940bbaa4dec6e7d7;p=thirdparty%2Fbugzilla.git Bug 801284: whine.pl should use DEFAULT_COLUMN_LIST as the default column list instead of its hardcoded list r=LpSolit a=sgreen --- diff --git a/whine.pl b/whine.pl index f7ed6d5c7d..d8cc39174d 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.