]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Elements/RT__Class/ColumnMap
Putting 4.2.0 on top of 4.0.17
[usit-rt.git] / share / html / Elements / RT__Class / ColumnMap
index 114e333a57a7d4779edae9ebd224037e942205ae..b0f4658d39918d2ef928bc70941466d3fe90e2a7 100644 (file)
 <%ARGS>
 $Name
 $Attr => undef
+$GenericMap => {}
 </%ARGS>
 <%ONCE>
 my $COLUMN_MAP = {
-    id => {
-        title     => '#', # loc
-        attribute => 'id',
-        value     => sub { return $_[0]->id },
-    },
     Name => {
         title     => 'Name', # loc
         attribute => 'Name',
@@ -71,6 +67,6 @@ my $COLUMN_MAP = {
 
 </%ONCE>
 <%INIT>
-$m->callback( COLUMN_MAP => $COLUMN_MAP, CallbackName => 'ColumnMap', CallbackOnce => 1 );
+$m->callback( GenericMap => $GenericMap, COLUMN_MAP => $COLUMN_MAP, CallbackName => 'ColumnMap', CallbackOnce => 1 );
 return GetColumnMapEntry( Map => $COLUMN_MAP, Name => $Name, Attribute => $Attr );
 </%INIT>