]> git.mjollnir.org Git - moodle.git/commitdiff
Search results link use the anchor tag rather than parent for better context
authormoodler <moodler>
Sun, 31 Aug 2003 06:39:06 +0000 (06:39 +0000)
committermoodler <moodler>
Sun, 31 Aug 2003 06:39:06 +0000 (06:39 +0000)
mod/forum/search.php

index bcb286414be3a6ddfd02637f32548a2eb57c5136..f86c589ad4cda729ed52f48adf2217930b337855 100644 (file)
 
             $post->subject = $fullsubject;
 
-            $fulllink = "<p align=\"right\"><a href=\"discuss.php?d=$post->discussion&parent=$post->id\">".get_string("postincontext", "forum")."</a></p>";
+            $fulllink = "<p align=\"right\"><a href=\"discuss.php?d=$post->discussion#$post->id\">".get_string("postincontext", "forum")."</a></p>";
             forum_print_post($post, $course->id, false, false, false, false, $fulllink, $search);
 
             echo "<br />";