[Rt-commit] rt branch, 4.0/hardcoded-statuses-in-myday, created. rt-4.0.0rc6-137-g89df2b2
Ruslan Zakirov
ruz at bestpractical.com
Tue Mar 15 18:36:06 EDT 2011
The branch, 4.0/hardcoded-statuses-in-myday has been created
at 89df2b28d82b2edc63f5ad484564f9ba14e0576f (commit)
- Log -----------------------------------------------------------------
commit 187118a5a2807241533e692c09f82fb5a1507ca0
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 89df2b28d82b2edc63f5ad484564f9ba14e0576f
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