[drupal-devel] [bug] node_search doesn't node_view, causing bad snippets.

chx drupal-devel at drupal.org
Wed Jul 27 20:40:08 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Morbus Iff
 Reported by:  Morbus Iff
 Updated by:   chx
 Status:       patch

The patch applies, does what is described and it is needed. +1


Previous comments:

Wed, 06 Jul 2005 15:08:32 +0000 : Morbus Iff

Attachment: http://drupal.org/files/issues/_p_nodesearch.patch (1010 bytes)

During search indexing, the node.module invokes node_view and node view
api before indexing it for content (see node_update_index). This,
however, doesn't happen on node_search, which assumes that the body
exists to get a snippet from. This causes an empty snippet on flexinode
nodes, or anything else that requires a node view api. This patch simply
adds the same block from node_update_index to node_search.


Tue, 19 Jul 2005 14:16:50 +0000 : Morbus Iff

Attachment: http://drupal.org/files/issues/_p_26458_nodesearch.patch (996 bytes)

Updated for HEAD.

More information about the drupal-devel mailing list