]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed tag output link for new search.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 11 Jan 2010 23:13:16 +0000 (23:13 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 11 Jan 2010 23:13:16 +0000 (23:13 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3796 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/output/tags.php

index f394d084f96914eee240186bcc58fc90a413e48e..1afc89d885a6a74b08d034a6e92d878171e4f3cf 100644 (file)
@@ -45,8 +45,8 @@ if (!empty($vars['tags'])) {
                        $type = "";
                }
                if (is_string($tag)) {
-                       $tagstr .= "<a rel=\"tag\" href=\"{$vars['url']}tag/".urlencode($tag) . "{$type}{$subtype}{$object}\">" . htmlentities($tag, ENT_QUOTES, 'UTF-8') . "</a>";
+                       $tagstr .= "<a rel=\"tag\" href=\"{$vars['url']}pg/search/?q=".urlencode($tag) . "&search_type=tags{$type}{$subtype}{$object}\">" . htmlentities($tag, ENT_QUOTES, 'UTF-8') . "</a>";
                }
        }
        echo $tagstr;
-}
\ No newline at end of file
+}