summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund Wong <ewong@pw-wspx.org>2013-09-05 13:22:44 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-09-05 13:22:44 +0200
commita84cc30018c4fbc7afec6797940bbaa4dec6e7d7 (patch)
treea07bafcd3b5ae135543135ed210d3775842b8a06
parent85b8753b59de091a4700ac6e192224c18e25d54d (diff)
downloadbugzilla-a84cc30018c4fbc7afec6797940bbaa4dec6e7d7.tar.gz
bugzilla-a84cc30018c4fbc7afec6797940bbaa4dec6e7d7.tar.xz
Bug 801284: whine.pl should use DEFAULT_COLUMN_LIST as the default column list instead of its hardcoded list
r=LpSolit a=sgreen
-rwxr-xr-xwhine.pl12
1 files 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.