With the installation of Simple Access, the blog nodes are presented out of order. What I found is that the with the changes to the node_access table ( one row for every node ), the function node_access_view_all_nodes() now returns false, which causes the code block in node_db_rewrite_sql() to run:
if ($primary_field == 'nid' && !node_access_view_all_nodes()) {
$return['join'] = _node_access_join_sql($primary_table);
$return['where'] = _node_access_where_sql();
$return['distinct'] = 1;
return $return;
}
As a result, the order is now by node id (nid). This puts the blog entries in reverse order ( oldest first rather than newest first ).
Has anyone else encountered this? Any suggestions on a course of actions? I am considering returning from node_db_rewrite_sql() before the code block as that is what happens without Simple Access, but I know that I am undermining the node module.
Comments
Comment #1
gordon commentedThis is actually a simple_access issues as this is all done before simple access is called.
Comment #2
dpearcefl commentedConsidering the time elapsed between now and the last comment plus the fact that D5 is no longer supported, I am closing this ticket.