[Rt-commit] r18005 - in rt/3.999/branches/merge_to_3.8.2: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jan 29 04:13:06 EST 2009
Author: sunnavy
Date: Thu Jan 29 04:13:05 2009
New Revision: 18005
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/share/html/Search/Simple.html
Log:
r19195 at sunnavys-mb: sunnavy | 2009-01-29 17:00:41 +0800
merged share/html/Search/Simple.html
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Search/Simple.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Search/Simple.html (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Search/Simple.html Thu Jan 29 04:13:05 2009
@@ -80,14 +80,14 @@
if ($q) {
my $tickets = RT::Model::TicketCollection->new();
- if ($q =~ /^(\d+)$/) {
- RT::Interface::Web::redirect(RT->config->get('WebURL')."Ticket/Display.html?id=".$q);
+ if ($q =~ /^#?(\d+)$/) {
+ RT::Interface::Web::redirect(RT->config->get('WebURL')."Ticket/Display.html?id=".$1);
}
$m->callback( %ARGS, query => \$q, Callbackname => 'modify_query' );
- if ($q =~ /^(\d+)$/) {
- RT::Interface::Web::redirect(RT->config->get('WebURL')."Ticket/Display.html?id=".$q);
+ if ($q =~ /^#?(\d+)$/) {
+ RT::Interface::Web::redirect(RT->config->get('WebURL')."Ticket/Display.html?id=".$1);
}
my %args = (
More information about the Rt-commit
mailing list