[Rt-commit] r8732 - in rtir/branches/2.3-EXPERIMENTAL: . html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap

sartak at bestpractical.com sartak at bestpractical.com
Fri Aug 24 17:29:46 EDT 2007


Author: sartak
Date: Fri Aug 24 17:29:45 2007
New Revision: 8732

Modified:
   rtir/branches/2.3-EXPERIMENTAL/   (props changed)
   rtir/branches/2.3-EXPERIMENTAL/etc/RTIR_Config.pm
   rtir/branches/2.3-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once

Log:
 r19932 at onn:  sartak | 2007-08-24 17:29:25 -0400
 Step 1 of displaying key info in reply-to lists


Modified: rtir/branches/2.3-EXPERIMENTAL/etc/RTIR_Config.pm
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/etc/RTIR_Config.pm	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/etc/RTIR_Config.pm	Fri Aug 24 17:29:45 2007
@@ -187,7 +187,7 @@
     BulkReply =>
         q{'<b><a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',
           '<b><a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject',
-          __Requestors__, __OwnerName__, __CreatedRelative__, __DueRelative__},
+          __RequestorsKey__, __OwnerNameKey__, __CreatedRelative__, __DueRelative__},
 
     DueIncidents =>
         q{'<b><a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',

Modified: rtir/branches/2.3-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/Once	Fri Aug 24 17:29:45 2007
@@ -62,6 +62,16 @@
         return \$yesno;
     },
 };
+$COLUMN_MAP->{'RequestorsKey'} = {
+    title     => 'Requestors',
+    attribute => 'Requestor.EmailAddress',
+    value => sub { return $_[0]->Requestors->MemberEmailAddressesAsString }
+};
+$COLUMN_MAP->{'OwnerNameKey'} = {
+    title     => 'Owner',
+    attribute => 'Owner',
+    value     => sub { return $_[0]->OwnerObj->Name }
+};
 
 </%INIT>
 <%ARGS>


More information about the Rt-commit mailing list