ticket search spreadsheet download fix, RT#10855
authormark <mark>
Wed, 12 Jan 2011 22:00:40 +0000 (22:00 +0000)
committermark <mark>
Wed, 12 Jan 2011 22:00:40 +0000 (22:00 +0000)
rt/FREESIDE_MODIFIED
rt/share/html/Search/Results.tsv

index 36f7a2e..4d5bb29 100644 (file)
@@ -16,6 +16,8 @@ lib/RT/Condition.pm #create ticket on custom field change
 lib/RT/Scrip_Overlay.pm #create ticket on custom field change
 lib/RT/Action/CreateTickets.pm #create ticket on custom field change
 lib/RT/Action/EscalatePriority.pm #ticket escalation
+lib/RT/Action/EscalateQueue.pm #ticket escalation
+lib/RT/CustomFieldValues/Queues.pm #ticket escalation
 lib/RT/Condition/CustomFieldChange.pm #create ticket on custom field change
 lib/RT/Interface/Web_Vendor.pm
  lib/RT/Interface/Web/Handler.pm #freeside comp_root for dashboard emails
@@ -67,6 +69,7 @@ share/html/Elements/ShowLink_Checklist
  share/html/Elements/SelectCustomerClass #SearchCustomerFields
  share/html/Elements/SelectCustomerTag #SearchCustomerFields
  share/html/Search/Build.html
+share/html/Search/Results.tsv #content-type bug fix
  share/html/Search/Elements/BuildFormatString
  share/html/Search/Elements/PickCFs #customfield date patch
 share/html/Ticket/Checklist.html
index 946a35d..0724c33 100644 (file)
@@ -95,7 +95,8 @@ my @attrs = qw(
     ResolvedObj->ISO LastUpdatedObj->ISO
 );
 
-$r->content_type('application/vnd.ms-excel');
+$r->content_type('text/csv');
+$r->header_out('Content-Disposition' => 'attachment;filename="Results.csv"');
 {
     my @header;
     foreach my $attr (@attrs) {