[Rt-commit] rt branch, 4.0/hardcoded-statuses-in-myday, created. rt-4.0.0rc6-86-g43d5041
Kevin Falcone
falcone at bestpractical.com
Wed Mar 16 16:29:59 EDT 2011
The branch, 4.0/hardcoded-statuses-in-myday has been created
at 43d5041f354ef0dcab7b9b5b4402255ca76a3dbf (commit)
- Log -----------------------------------------------------------------
commit bdd51e9578cc3e76473f760702fbc767f9bd7cec
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Mar 15 10:14:49 2011 +0300
drop hardcoded statuses from MyDay page
diff --git a/share/html/Tools/MyDay.html b/share/html/Tools/MyDay.html
index 729d45a..a5774c3 100644
--- a/share/html/Tools/MyDay.html
+++ b/share/html/Tools/MyDay.html
@@ -106,8 +106,7 @@ foreach my $arg ( keys %ARGS ) {
my $Tickets = RT::Tickets->new($session{'CurrentUser'});
$Tickets->LimitOwner(VALUE => $session{'CurrentUser'}->Id);
-$Tickets->LimitStatus( VALUE => 'open' );
-$Tickets->LimitStatus ( VALUE => 'new');
+$Tickets->LimitStatus( VALUE => $_ ) foreach RT::Queue->ActiveStatusArray;
$Tickets->OrderBy ( FIELD => 'Priority', ORDER => 'DESC');
commit 43d5041f354ef0dcab7b9b5b4402255ca76a3dbf
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Mar 15 10:17:07 2011 +0300
change title as it doesn't reflect reality
diff --git a/share/html/Tools/MyDay.html b/share/html/Tools/MyDay.html
index a5774c3..aa0b21a 100644
--- a/share/html/Tools/MyDay.html
+++ b/share/html/Tools/MyDay.html
@@ -50,7 +50,7 @@
<& /Elements/ListActions, actions => \@results &>
-<h2><&|/l, $session{'CurrentUser'}->Name &>New and open tickets for [_1]</&></h2>
+<h2><&|/l, $session{'CurrentUser'}->Name &>Active tickets for [_1]</&></h2>
<form method="post" action="MyDay.html">
<table width="100%" cellpadding="0" cellspacing="0" class="myday">
% while ( my $Ticket = $Tickets->Next()) {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list