[Rt-commit] r7925 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.4/html/Elements/RT__Queue

ruz at bestpractical.com ruz at bestpractical.com
Thu May 24 10:51:52 EDT 2007


Author: ruz
Date: Thu May 24 10:51:32 2007
New Revision: 7925

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.4/html/Elements/RT__Queue/ColumnMap

Log:
* add Web* into queue's column map as workaround, in 3.7-EXPERIMENTAL we
  have these mappings in a generic map

Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.4/html/Elements/RT__Queue/ColumnMap
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.4/html/Elements/RT__Queue/ColumnMap	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.4/html/Elements/RT__Queue/ColumnMap	Thu May 24 10:51:32 2007
@@ -68,6 +68,13 @@
     Address  => {
         value     => sub { return ($_[0]->CorrespondAddress||'-') .'/'. ($_[0]->CommentAddress||'-') },
     },
+
+    (map {
+        my $value = RT->Config->Get($_);
+        $_ => { value => sub { return \$value } };
+    
+    } qw(WebPath WebBaseURL WebURL)),
+
 };
 foreach my $col(qw(Name Description CorrespondAddress CommentAddress InitialPriority FinalPriority DefaultDueIn)) {
     $QUEUE_COLUMN_MAP->{$col} = { attribute => $col, value => sub { return $_[0]->$col() } };


More information about the Rt-commit mailing list