[Rt-commit] r13829 - in rt/3.8/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 7 12:21:37 EDT 2008
Author: sartak
Date: Mon Jul 7 12:21:37 2008
New Revision: 13829
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Elements/ShowSearch
Log:
r63772 at onn: sartak | 2008-07-07 12:19:28 -0400
Absolute paths in search titleboxes so pages outside of / can use them
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 Mon Jul 7 12:21:37 2008
@@ -59,7 +59,7 @@
my $SearchArg;
my $customize;
my $query_display_component = '/Elements/CollectionList';
-my $query_link_url = RT->Config->Get('WebBaseURL').'Search/Results.html';
+my $query_link_url = RT->Config->Get('WebURL') . 'Search/Results.html';
if ($SavedSearch) {
my ( $container_object, $search_id ) = _parse_saved_search($SavedSearch);
@@ -78,7 +78,7 @@
# XXX: dispatch to different handler here
$query_display_component
= '/Search/Elements/' . $SearchArg->{SearchType};
- $query_link_url = "Search/$SearchArg->{SearchType}.html";
+ $query_link_url = RT->Config->Get('WebURL') . "/Search/$SearchArg->{SearchType}.html";
} else {
$customize = RT->Config->Get('WebPath') . '/Search/Build.html?'
. $m->comp( '/Elements/QueryString',
More information about the Rt-commit
mailing list