Index: modules/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy.module,v
retrieving revision 1.216
diff -u -r1.216 taxonomy.module
--- modules/taxonomy.module	19 Jul 2005 21:31:09 -0000	1.216
+++ modules/taxonomy.module	27 Jul 2005 03:36:49 -0000
@@ -985,7 +985,18 @@
  * Accepts the result of a pager_query() call, such as that performed by
  * taxonomy_select_nodes(), and formats each node along with a pager.
 */
-function taxonomy_render_nodes($result) {
+function taxonomy_render_nodes($result, $vid = 0) {
+  if ($vid) {
+    $vocab = taxonomy_get_vocabulary($vid);
+    if (count($vocab->nodes) == 1) {
+      $node_type = $vocab->nodes[0];
+      $output = node_invoke($node_type, 'render_nodes', $result, $vid);
+      if ($output) {
+        return $output;
+      }
+    }
+  }
+
   if (db_num_rows($result) > 0) {
     while ($node = db_fetch_object($result)) {
       $output .= node_view(node_load($node->nid), 1);
