Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Jun 2011 at 18:29 UTC
Updated:
29 Jul 2014 at 19:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aspilicious commentedWe fix bugs first in 8.x
This is a documentation issue.
Comment #2
jhodgdonDefinitely a doc issue.
The query definitely returns nodes ordered by n.changed (the last changed time). Should be documented in the function one-line doc header, which currently says "Find the most recent nodes that are available to the current user." -- which indeed doesn't clarify what "recent" means.
Comment #3
jhodgdonProbably a good one for a novice doc contributor to take on...
Comment #4
James_Stallings commentedNovice contributor here. Looking for an endorsement before I proceed creating a patch.
Change the document header
From: Find the most recent nodes that are available to the current user.
To: Find the most recently changed nodes that are available to the current user.
Comment #5
jhodgdonThat looks mostly good. But as long as we are fixing this function, we should also bring the doc header up to standards:
http://drupal.org/node/1354
Namely, the one-sentence description should start with "Finds", not "Find".
Thanks!
Comment #6
James_Stallings commentedIn progress
Comment #7
James_Stallings commentedComment #8
jhodgdonLooks good to me -- congratulations on your first patch (or one of your first few anyway)!
8.x/7.x please... This function doesn't exist in 6.x under this name anyway, so that should do it.
Comment #9
webchickGreat job, James! Thanks! :)
Committed and pushed to 8.x and 7.x.