]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Elements/Tabs
Upgrade to 4.0.8 with modification of ExternalAuth.
[usit-rt.git] / share / html / Elements / Tabs
index 95cc21a561bdd0cab2de3f6c3668e84a7e08d92e..184316e77a7c6ea6250c3aeff967153c0b3a4ea8 100644 (file)
@@ -50,6 +50,7 @@
 <%INIT>
 
 my $request_path = $HTML::Mason::Commands::r->path_info;
+$request_path =~ s!/{2,}!/!g;
 
 my $query_string = sub {
     my %args = @_;
@@ -836,7 +837,7 @@ my $build_selfservice_nav = sub {
     } elsif ( $queue_id ) {
         Menu->child( new => title => loc('New ticket'), path => '/SelfService/Create.html?Queue=' . $queue_id );
     }
-    my $tickets = Menu->child( tickets => title => loc('Tickets'));
+    my $tickets = Menu->child( tickets => title => loc('Tickets'), path => '/SelfService/' );
     $tickets->child( open   => title => loc('Open tickets'),   path => '/SelfService/' );
     $tickets->child( closed => title => loc('Closed tickets'), path => '/SelfService/Closed.html' );