diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2003-02-12 21:39:07 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2003-02-12 21:39:07 +0000 |
commit | d154836125a41440036912875a9461c0a6656f18 (patch) | |
tree | 505267c0b05f187da2e0f1438e552b2e05ed828c | |
parent | 32989e14dba16192c69cafa6f69138e597311b27 (diff) | |
download | brdo-d154836125a41440036912875a9461c0a6656f18.tar.gz brdo-d154836125a41440036912875a9461c0a6656f18.tar.bz2 |
- Applied patch from Axel: missing cid in comment search results.
-rw-r--r-- | modules/search.module | 2 | ||||
-rw-r--r-- | modules/search/search.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module index 3c15ffcaa..47710d647 100644 --- a/modules/search.module +++ b/modules/search.module @@ -168,7 +168,7 @@ function do_search($search_array) { $find[$i++] = array("count" => $count, "title" => $title, "link" => (strstr($PHP_SELF, "admin") ? url("admin/node/edit/$lno") : url("node/view/$lno")), "user" => $name, "date" => $created, "keywords" => implode("|", $words)); break; case "comment": - $find[$i++] = array("count" => $count, "title" => $title, "link" => (strstr($PHP_SELF, "admin") ? url("admin/comment/edit/$lno") : url("node/view/$nid#$cid")), "user" => $name, "date" => $created, "keywords" => implode("|", $words)); + $find[$i++] = array("count" => $count, "title" => $title, "link" => (strstr($PHP_SELF, "admin") ? url("admin/comment/edit/$lno") : url("node/view/$nid#$lno")), "user" => $name, "date" => $created, "keywords" => implode("|", $words)); break; } } diff --git a/modules/search/search.module b/modules/search/search.module index 3c15ffcaa..47710d647 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -168,7 +168,7 @@ function do_search($search_array) { $find[$i++] = array("count" => $count, "title" => $title, "link" => (strstr($PHP_SELF, "admin") ? url("admin/node/edit/$lno") : url("node/view/$lno")), "user" => $name, "date" => $created, "keywords" => implode("|", $words)); break; case "comment": - $find[$i++] = array("count" => $count, "title" => $title, "link" => (strstr($PHP_SELF, "admin") ? url("admin/comment/edit/$lno") : url("node/view/$nid#$cid")), "user" => $name, "date" => $created, "keywords" => implode("|", $words)); + $find[$i++] = array("count" => $count, "title" => $title, "link" => (strstr($PHP_SELF, "admin") ? url("admin/comment/edit/$lno") : url("node/view/$nid#$lno")), "user" => $name, "date" => $created, "keywords" => implode("|", $words)); break; } } |