[Rt-commit] rt branch, 4.0/articles-webpath, created. rt-4.0.1-129-g6f48254

Thomas Sibley trs at bestpractical.com
Thu Jul 28 10:03:34 EDT 2011


The branch, 4.0/articles-webpath has been created
        at  6f4825424763a07e3a3f01517b90adfdfca1dcef (commit)

- Log -----------------------------------------------------------------
commit 6f4825424763a07e3a3f01517b90adfdfca1dcef
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jul 28 10:03:12 2011 -0400

    Include __WebPath__ in the articles search format

diff --git a/share/html/Articles/Article/Search.html b/share/html/Articles/Article/Search.html
index d94a8a0..7da34d2 100644
--- a/share/html/Articles/Article/Search.html
+++ b/share/html/Articles/Article/Search.html
@@ -109,8 +109,8 @@ use RT::SavedSearch;
 my @results;
 my $articles = RT::Articles->new( $session{'CurrentUser'} );
 my $format = q{
-    '<a href="/Articles/Article/Display.html?id=__id__">__id__</a>/TITLE:#',
-    '<a href="/Articles/Article/Display.html?id=__id__">__Name__</a>/TITLE:Name',
+    '<a href="__WebPath__/Articles/Article/Display.html?id=__id__">__id__</a>/TITLE:#',
+    '<a href="__WebPath__/Articles/Article/Display.html?id=__id__">__Name__</a>/TITLE:Name',
     '__ClassName__',
     '__CreatedRelative__',
     '__LastUpdatedRelative__',

-----------------------------------------------------------------------


More information about the Rt-commit mailing list