Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f0c5a286
Commit
f0c5a286
authored
Jul 29, 2005
by
Steven Wittens
Browse files
-
#26458
: node_search doesn't node_view, causing bad snippets.
parent
d720c661
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
f0c5a286
...
...
@@ -580,7 +580,7 @@ function node_search($op = 'search', $keys = null) {
'user'
=>
format_name
(
$node
),
'date'
=>
$node
->
changed
,
'extra'
=>
$extra
,
'snippet'
=>
search_excerpt
(
$keys
,
check_output
(
$node
->
body
,
$node
->
format
,
FALSE
)
));
'snippet'
=>
search_excerpt
(
$keys
,
$node
->
body
));
}
return
$results
;
}
...
...
modules/node/node.module
View file @
f0c5a286
...
...
@@ -580,7 +580,7 @@ function node_search($op = 'search', $keys = null) {
'user'
=>
format_name
(
$node
),
'date'
=>
$node
->
changed
,
'extra'
=>
$extra
,
'snippet'
=>
search_excerpt
(
$keys
,
check_output
(
$node
->
body
,
$node
->
format
,
FALSE
)
));
'snippet'
=>
search_excerpt
(
$keys
,
$node
->
body
));
}
return
$results
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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