[Rt-commit] r15892 - rt/3.8/trunk/share/html/Elements

clkao at bestpractical.com clkao at bestpractical.com
Wed Sep 10 12:50:41 EDT 2008


Author: clkao
Date: Wed Sep 10 12:50:40 2008
New Revision: 15892

Modified:
   rt/3.8/trunk/share/html/Elements/ShowSearch

Log:
In portlet search result link, use webpath instead of weburl.
The problem is $WebURL is computed from $WebBaseURL and friends in
RT_Config.pm, having those set in SiteConfig does not change $WebURL.
 
RT-Ticket: 12414
RT-Status: resolved
RT-Action: Correspond


Modified: rt/3.8/trunk/share/html/Elements/ShowSearch
==============================================================================
--- rt/3.8/trunk/share/html/Elements/ShowSearch	(original)
+++ rt/3.8/trunk/share/html/Elements/ShowSearch	Wed Sep 10 12:50:40 2008
@@ -59,7 +59,7 @@
 my $SearchArg;
 my $customize;
 my $query_display_component = '/Elements/CollectionList';
-my $query_link_url = RT->Config->Get('WebURL').'Search/Results.html';
+my $query_link_url = RT->Config->Get('WebPath').'Search/Results.html';
 
 if ($SavedSearch) {
     my ( $container_object, $search_id ) = _parse_saved_search($SavedSearch);


More information about the Rt-commit mailing list