mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Search results link use the anchor tag rather than parent for better context
This commit is contained in:
parent
8bd35f870c
commit
1c10b4c5c1
@ -111,7 +111,7 @@
|
||||
|
||||
$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 />";
|
||||
|
Loading…
x
Reference in New Issue
Block a user