[Rt-commit] r6487 - rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Elements

clkao at bestpractical.com clkao at bestpractical.com
Wed Nov 22 03:00:53 EST 2006


Author: clkao
Date: Wed Nov 22 03:00:53 2006
New Revision: 6487

Modified:
   rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Elements/ShowSearch

Log:
portlet link should respect searchtype.

Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Elements/ShowSearch
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Elements/ShowSearch	(original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Elements/ShowSearch	Wed Nov 22 03:00:53 2006
@@ -70,7 +70,7 @@
     if ( $SearchArg->{SearchType} ne 'Ticket' ) {
         # XXX: dispatch to different handler here
         $query_display_component = '/Search/Elements/'.$SearchArg->{SearchType};
-        $query_link_url = 'Search/Chart.html';
+        $query_link_url = "Search/$SearchArg->{SearchType}.html";
     }
     else {
 	$customize = $RT::WebPath.'/Search/Build.html?'.


More information about the Rt-commit mailing list