- Patch #883998 by Berdir: node_default_page() query fails on PostgreSQL when having node_access() modules enabled.
parent
82ddaf7e7e
commit
b82715c333
|
@ -2461,7 +2461,7 @@ function node_view_multiple($nodes, $view_mode = 'teaser', $weight = 0) {
|
|||
*/
|
||||
function node_page_default() {
|
||||
$select = db_select('node', 'n')
|
||||
->fields('n', array('nid'))
|
||||
->fields('n', array('nid', 'sticky', 'created'))
|
||||
->condition('promote', 1)
|
||||
->condition('status', 1)
|
||||
->orderBy('sticky', 'DESC')
|
||||
|
|
Loading…
Reference in New Issue