[Rt-commit] rt branch, 4.0/hardcoded-status-self-service, created. rt-4.0.0rc6-137-g58c6540
Ruslan Zakirov
ruz at bestpractical.com
Mon Mar 14 19:36:24 EDT 2011
The branch, 4.0/hardcoded-status-self-service has been created
at 58c6540d32463c40c05c4fdb2dd076876854e097 (commit)
- Log -----------------------------------------------------------------
commit 40d82d304452f48097fa43b0749182a105013cd8
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 58c6540d32463c40c05c4fdb2dd076876854e097
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,
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list