Index: node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.916 diff -u -r1.916 node.module --- node.module 6 Dec 2007 09:58:32 -0000 1.916 +++ node.module 6 Dec 2007 16:30:21 -0000 @@ -685,8 +685,10 @@ } // Retrieve a field list based on the site's schema. - $fields = drupal_schema_fields_sql('node', 'n'); - $fields = array_merge($fields, drupal_schema_fields_sql('node_revisions', 'r')); + // NOTE: If node_revisions comes after head then uid is the last person + // to edit the node rather then the person who created the node. + $fields = drupal_schema_fields_sql('node_revisions', 'r'); + $fields = array_merge($fields, drupal_schema_fields_sql('node', 'n')); $fields = array_merge($fields, array('u.name', 'u.picture', 'u.data')); $fields = implode(', ', $fields); // rename timestamp field for clarity.