Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d1548361
Commit
d1548361
authored
Feb 12, 2003
by
Kjartan Mannes
Browse files
- Applied patch from Axel: missing cid in comment search results.
parent
32989e14
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/search.module
View file @
d1548361
...
...
@@ -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
;
}
}
...
...
modules/search/search.module
View file @
d1548361
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment