[Rt-commit] r4862 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR

alexmv at bestpractical.com alexmv at bestpractical.com
Wed Mar 29 11:09:54 EST 2006


Author: alexmv
Date: Wed Mar 29 11:09:54 2006
New Revision: 4862

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html

Log:
 r11938 at zoq-fot-pik:  chmrr | 2006-03-29 11:09:44 -0500
  * Show multiple values for Customer field


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html	Wed Mar 29 11:09:54 2006
@@ -70,9 +70,8 @@
   </tr>
   <tr>
     <td class="label"><&|/l&>Customer</&>:</td>
-    <td class="value">
-      <& /RTIR/Elements/ShowRTIRField, 
-         Ticket => $Ticket, Name => 'Customer' &>
+% my $values = $Ticket->CustomFieldValues("_RTIR_Customer");
+    <td class="value"><span class="cf-value"><% join(", ", map {$_->Content} @{$values->ItemsArrayRef}) %></span>
     </td>
   </tr>
   <tr>
@@ -129,9 +128,8 @@
 % } elsif ($Type eq "Investigation") {
   <tr>
     <td class="label"><&|/l&>Customer</&>:</td>
-    <td class="value">
-      <& /RTIR/Elements/ShowRTIRField, 
-         Ticket => $Ticket, Name => 'Customer' &>
+% my $values = $Ticket->CustomFieldValues("_RTIR_Customer");
+    <td class="value"><span class="cf-value"><% join(", ", map {$_->Content} @{$values->ItemsArrayRef}) %></span>
     </td>
   </tr>
 % }


More information about the Rt-commit mailing list