[Rt-commit] rt branch, 4.0.0-releng, updated. rt-4.0.0rc6-80-gd86a074

Shawn Moore sartak at bestpractical.com
Tue Mar 15 14:16:11 EDT 2011


The branch, 4.0.0-releng has been updated
       via  d86a074f03752177dd8b83ff32cc93f68ced7093 (commit)
       via  81770cdbcc3bd8420a54c612d1d2f0a4b1257d1e (commit)
       via  2bac2f0d93a5958f352583b9aef03b6256daf3a4 (commit)
      from  375fbe76f06e1b159040321f3e57074475d2bd46 (commit)

Summary of changes:
 share/html/SelfService/Closed.html  |    2 +-
 share/html/SelfService/Display.html |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 2bac2f0d93a5958f352583b9aef03b6256daf3a4
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Tue Mar 15 02:33:02 2011 +0300

    don't pass Status => new, Ticket::Create take care

diff --git a/share/html/SelfService/Display.html b/share/html/SelfService/Display.html
index 1a4bc10..3a22aa5 100755
--- a/share/html/SelfService/Display.html
+++ b/share/html/SelfService/Display.html
@@ -134,7 +134,7 @@ if ( defined ($id[0]) && $id[0] eq 'new' ) {
 
 
     ( $Ticket, @results ) =
-    CreateTicket( Attachments => $session{'Attachments'}, %ARGS, Status => 'new' );
+    CreateTicket( Attachments => $session{'Attachments'}, %ARGS );
 
     unless ( $Ticket->id ) {
         $m->comp( 'Error.html', Why => join( "\n", @results ));

commit 81770cdbcc3bd8420a54c612d1d2f0a4b1257d1e
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Tue Mar 15 02:35:12 2011 +0300

    show all inactive, instead hardcoded rejected and resolved

diff --git a/share/html/SelfService/Closed.html b/share/html/SelfService/Closed.html
index 268a226..96823cc 100755
--- a/share/html/SelfService/Closed.html
+++ b/share/html/SelfService/Closed.html
@@ -49,7 +49,7 @@
 
 <& /SelfService/Elements/MyRequests,
     %ARGS,
-    status          => ['rejected', 'resolved'],
+    status          => [ RT::Queue->InactiveStatusArray ],
     friendly_status => loc('closed'), 
 	BaseURL         => RT->Config->Get('WebPath') ."/SelfService/Closed.html?",
 	Page            => $Page,

commit d86a074f03752177dd8b83ff32cc93f68ced7093
Merge: 375fbe7 81770cd
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Mar 15 14:15:57 2011 -0400

    Merge branch '4.0/hardcoded-status-self-service' into 4.0.0-releng


-----------------------------------------------------------------------


More information about the Rt-commit mailing list