[Rt-commit] r3694 - in rt/branches/3.5-TESTING: . html/Search
html/Ticket
jesse at bestpractical.com
jesse at bestpractical.com
Thu Aug 18 17:55:42 EDT 2005
Author: jesse
Date: Thu Aug 18 17:55:41 2005
New Revision: 3694
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Search/Build.html
rt/branches/3.5-TESTING/html/Ticket/Display.html
Log:
r13221 at hualien: jesse | 2005-08-18 15:44:15 -0400
r13208 at hualien: jesse | 2005-08-18 14:39:15 -0400
r7377 at hualien: jesse | 2005-08-03 15:11:21 -0400
Modified: rt/branches/3.5-TESTING/html/Search/Build.html
==============================================================================
--- rt/branches/3.5-TESTING/html/Search/Build.html (original)
+++ rt/branches/3.5-TESTING/html/Search/Build.html Thu Aug 18 17:55:41 2005
@@ -252,7 +252,7 @@
# {{{ Try to find if we're adding a clause
foreach my $arg ( keys %ARGS ) {
if (
- $arg =~ m/^ValueOf(\w+)$/
+ $arg =~ m/^ValueOf(\w+|'CF.{.*?}')$/
&& ( ref $ARGS{$arg} eq "ARRAY"
? grep { $_ ne "" } @{ $ARGS{$arg} }
: $ARGS{$arg} ne "" )
Modified: rt/branches/3.5-TESTING/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Display.html (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Display.html Thu Aug 18 17:55:41 2005
@@ -109,7 +109,6 @@
unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
Abort("No permission to view newly created ticket #".$TicketObj->id.".");
}
- $RT::Logger->crit("Just created the ticket");
# }}}
} else {
if (!$TicketObj) {
@@ -155,26 +154,17 @@
-$RT::Logger->crit("About to check for actions to prepare for a redirect");
if (@Actions) {
- $RT::Logger->crit("We have actions. time to redirect");
# We've done something, so we need to clear the decks to avoid
# resubmission on refresh.
# But we need to store Actions somewhere too, so we don't lose them.
$session{"Actions"} = \@Actions;
$m->redirect($RT::WebURL."/Ticket/Display.html?id=".$TicketObj->id);
- $RT::Logger->crit("Set up the redirect");
- $m->abort();
- $RT::Logger->crit("Aborted. Should never be called");
} else {
- $RT::Logger->crit("We're not redirecting. load up some actions if they exist");
@Actions = @{$session{"Actions"} || [] };
delete $session{"Actions"};
}
-$RT::Logger->crit("We're past the point where any redirect happens");
-
-
$m->comp('/Elements/Callback', _CallbackName => 'BeforeDisplay',
TicketObj => \$TicketObj, Tickets => \$Tickets, ARGSRef => \%ARGS);
More information about the Rt-commit
mailing list