[Rt-commit] rt branch, history-filter, updated. rt-3.8.8-97-g0732226
Shawn Moore
sartak at bestpractical.com
Tue Jun 15 17:40:18 EDT 2010
The branch, history-filter has been updated
via 07322266fa40a93cd7da077b832197a932d82c11 (commit)
from b9dbff5a3460f4bf9c14d57e7616c6eaaf6c8a8d (commit)
Summary of changes:
lib/RT/Transaction_Overlay.pm | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
- Log -----------------------------------------------------------------
commit 07322266fa40a93cd7da077b832197a932d82c11
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Jun 15 17:40:41 2010 -0400
Use FilterType values closer to what the rest of the types will be
Single words or CamelCase. Also avoids various issues with spaces as
hash keys
diff --git a/lib/RT/Transaction_Overlay.pm b/lib/RT/Transaction_Overlay.pm
index 945d87c..346cc05 100755
--- a/lib/RT/Transaction_Overlay.pm
+++ b/lib/RT/Transaction_Overlay.pm
@@ -86,14 +86,14 @@ use HTML::TreeBuilder;
# {{{ TypeMetadata
%TypeMetadata = (
CommentEmailRecord => {
- FilterType => 'Outgoing email record',
+ FilterType => 'EmailRecord',
BriefDescription => sub {
my $self = shift;
return $self->loc("Outgoing email about a comment recorded");
},
},
EmailRecord => {
- FilterType => 'Outgoing email record',
+ FilterType => 'EmailRecord',
BriefDescription => sub {
my $self = shift;
return $self->loc("Outgoing email recorded");
@@ -135,21 +135,21 @@ use HTML::TreeBuilder;
},
},
Untake => {
- FilterType => 'Owner change',
+ FilterType => 'Owner',
BriefDescription => sub {
my $self = shift;
return $self->loc("Untaken");
},
},
Take => {
- FilterType => 'Owner change',
+ FilterType => 'Owner',
BriefDescription => sub {
my $self = shift;
return $self->loc("Taken");
},
},
Force => {
- FilterType => 'Owner change',
+ FilterType => 'Owner',
BriefDescription => sub {
my $self = shift;
my $Old = RT::User->new( $self->CurrentUser );
@@ -161,7 +161,7 @@ use HTML::TreeBuilder;
},
},
Steal => {
- FilterType => 'Owner change',
+ FilterType => 'Owner',
BriefDescription => sub {
my $self = shift;
my $Old = RT::User->new( $self->CurrentUser );
@@ -170,7 +170,7 @@ use HTML::TreeBuilder;
},
},
Give => {
- FilterType => 'Owner change',
+ FilterType => 'Owner',
BriefDescription => sub {
my $self = shift;
my $New = RT::User->new( $self->CurrentUser );
@@ -179,7 +179,7 @@ use HTML::TreeBuilder;
},
},
AddWatcher => {
- FilterType => 'Watcher change',
+ FilterType => 'Watcher',
BriefDescription => sub {
my $self = shift;
my $principal = RT::Principal->new($self->CurrentUser);
@@ -188,7 +188,7 @@ use HTML::TreeBuilder;
},
},
DelWatcher => {
- FilterType => 'Watcher change',
+ FilterType => 'Watcher',
BriefDescription => sub {
my $self = shift;
my $principal = RT::Principal->new($self->CurrentUser);
@@ -203,7 +203,7 @@ use HTML::TreeBuilder;
},
},
AddLink => {
- FilterType => 'Link change',
+ FilterType => 'Link',
BriefDescription => sub {
my $self = shift;
my $value;
@@ -245,7 +245,7 @@ use HTML::TreeBuilder;
},
},
DeleteLink => {
- FilterType => 'Link change',
+ FilterType => 'Link',
BriefDescription => sub {
my $self = shift;
my $value;
@@ -338,7 +338,7 @@ use HTML::TreeBuilder;
},
},
AddReminder => {
- FilterType => 'Reminder change',
+ FilterType => 'Reminder',
BriefDescription => sub {
my $self = shift;
my $ticket = RT::Ticket->new($self->CurrentUser);
@@ -347,7 +347,7 @@ use HTML::TreeBuilder;
},
},
OpenReminder => {
- FilterType => 'Reminder change',
+ FilterType => 'Reminder',
BriefDescription => sub {
my $self = shift;
my $ticket = RT::Ticket->new($self->CurrentUser);
@@ -356,7 +356,7 @@ use HTML::TreeBuilder;
},
},
ResolveReminder => {
- FilterType => 'Reminder change',
+ FilterType => 'Reminder',
BriefDescription => sub {
my $self = shift;
my $ticket = RT::Ticket->new($self->CurrentUser);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list