? 211188_project_overview_type_13.patch
? type.patch
Index: project.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project/project.module,v
retrieving revision 1.309
diff -u -p -r1.309 project.module
--- project.module	6 Mar 2008 06:41:43 -0000	1.309
+++ project.module	12 Apr 2008 20:22:33 -0000
@@ -616,6 +616,7 @@ function project_page_overview($termname
         'DISTINCT(n.nid)',
         'n.title',
         'n.sticky',
+        'n.type',
         'nr.teaser',
         'nr.format',
       );
@@ -682,12 +683,11 @@ function project_page_overview($termname
           $where = 'tr.tid IN ('. implode(',', $placeholders) .')';
           $release_settings['wheres'][] = $where;
 
-          // We need to grab the uid and type for the project node, so
+          // We need to grab the uid for the project node, so
           // that node_access() will work properly without a full
           // node_load() when we're generating the download table in
           // project_release_table().
           $release_settings['fields'][] = 'n.uid';
-          $release_settings['fields'][] = 'n.type';
         }
         $sql_settings = array_merge_recursive($sql_settings, $release_settings);
       }
