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
074848d0
Commit
074848d0
authored
Feb 28, 2011
by
Dries
Browse files
#1065968
by droplet: fixed function node_get_recent().
parent
768208f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.module
View file @
074848d0
...
...
@@ -2192,7 +2192,7 @@ function node_get_recent($number = 10) {
}
$nids
=
$query
->
fields
(
'n'
,
array
(
'nid'
))
->
orderBy
(
'changed'
,
'DESC'
)
->
orderBy
(
'
n.
changed'
,
'DESC'
)
->
range
(
0
,
$number
)
->
addTag
(
'node_access'
)
->
execute
()
...
...
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