aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-24 22:39:02 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-24 22:39:02 +0000
commit988a684b57d6294e1418bc53bffd157675c11673 (patch)
tree47b34d93bf50fd992e9a7b9cd6c62064e52a1684 /mod/search
parentc0bc34a6ce4c08e652ef86712dd6b9c1781eade5 (diff)
downloadelgg-988a684b57d6294e1418bc53bffd157675c11673.tar.gz
elgg-988a684b57d6294e1418bc53bffd157675c11673.tar.bz2
Added anchor names for comments.
git-svn-id: http://code.elgg.org/elgg/trunk@5499 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/views/default/search/comments/entity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/views/default/search/comments/entity.php b/mod/search/views/default/search/comments/entity.php
index 3bfd01033..0d253c567 100644
--- a/mod/search/views/default/search/comments/entity.php
+++ b/mod/search/views/default/search/comments/entity.php
@@ -38,7 +38,7 @@ if ($entity->getVolatileData('search_unavailable_entity')) {
}
$title = sprintf(elgg_echo('search:comment_on'), $title);
- $url = $entity->getURL() . '#annotation-' . $entity->getVolatileData('search_match_annotation_id');
+ $url = $entity->getURL() . '#comment_' . $entity->getVolatileData('search_match_annotation_id');
$title = "<a href=\"$url\">$title</a>";
}
@@ -56,4 +56,4 @@ echo <<<___END
</div>
___END;
-?> \ No newline at end of file
+?>