From b82715c333aae239ea4cf62a0750d1fd45504cee Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 16 Aug 2010 20:59:34 +0000 Subject: - Patch #883998 by Berdir: node_default_page() query fails on PostgreSQL when having node_access() modules enabled. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 8cc352375..f15557028 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -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') -- cgit v1.2.3