[Rt-commit] r4604 - in rt/branches/3.7-EXPERIMENTAL: .

jesse at bestpractical.com jesse at bestpractical.com
Wed Mar 1 00:07:21 EST 2006


Author: jesse
Date: Wed Mar  1 00:07:20 2006
New Revision: 4604

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Search/Results.tsv

Log:
 r24794 at truegrounds:  jesse | 2006-02-28 01:10:31 -0500
 * now show all fields in results tsv, regardless of whether any items have a value


Modified: rt/branches/3.7-EXPERIMENTAL/html/Search/Results.tsv
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Search/Results.tsv	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Search/Results.tsv	Wed Mar  1 00:07:20 2006
@@ -70,15 +70,13 @@
 
     my $cfs = $Ticket->QueueObj->TicketCustomFields();
     while (my $cf = $cfs->Next) {
+        $known_cfs{$cf->Id} = $cf->Name;
         my @content;
         my $values = $Ticket->CustomFieldValues($cf->Id);
         while (my $value = $values->Next) {
             push @content, $value->Content;
         }
         $row->{'CustomField-'.$cf->Id} = join(', ', at content);
-        if ($row->{'CustomField-'.$cf->Id}) {
-            $known_cfs{$cf->Id} = $cf->Name;
-        }
     }
     push @rows, $row;
 }


More information about the Rt-commit mailing list