projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
RT__SavedSearch
/
ColumnMap
diff --git
a/rt/share/html/Elements/RT__SavedSearch/ColumnMap
b/rt/share/html/Elements/RT__SavedSearch/ColumnMap
index
780ee83
..
82f533e
100644
(file)
--- a/
rt/share/html/Elements/RT__SavedSearch/ColumnMap
+++ b/
rt/share/html/Elements/RT__SavedSearch/ColumnMap
@@
-2,8
+2,8
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
0
Best Practical Solutions, LLC
-%# <
jesse
@bestpractical.com>
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
+%# <
sales
@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
%#
%# (Except where explicitly superseded by other copyright notices)
%#
@@
-48,17
+48,12
@@
<%ARGS>
$Name
$Attr => undef
<%ARGS>
$Name
$Attr => undef
+$GenericMap => {}
</%ARGS>
<%ONCE>
my $COLUMN_MAP = {
</%ARGS>
<%ONCE>
my $COLUMN_MAP = {
- id => {
- title => '#', # loc
- attribute => 'id',
- align => 'right',
- value => sub { return $_[0]->Id },
- },
Name => {
Name => {
- title =>
sub { return "foo" }, #
'Name', # loc
+ title => 'Name', # loc
attribute => 'Name',
value => sub { return $_[0]->Name()||loc("Unnamed search") },
},
attribute => 'Name',
value => sub { return $_[0]->Name()||loc("Unnamed search") },
},
@@
-80,6
+75,6
@@
my $COLUMN_MAP = {
</%ONCE>
<%INIT>
</%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>
return GetColumnMapEntry( Map => $COLUMN_MAP, Name => $Name, Attribute => $Attr );
</%INIT>