]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 801284: whine.pl should use DEFAULT_COLUMN_LIST as the default column list instea...
authorEdmund Wong <ewong@pw-wspx.org>
Thu, 5 Sep 2013 11:22:44 +0000 (13:22 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 5 Sep 2013 11:22:44 +0000 (13:22 +0200)
r=LpSolit a=sgreen

whine.pl

index f7ed6d5c7d782f0d5f9d1ddf8a7a8f444d852455..d8cc39174d72fa7fe51f7df47eac18374e1f8f3b 100755 (executable)
--- 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.