Index: modules/path/path.module =================================================================== RCS file: /cvs/drupal/drupal/modules/path/path.module,v retrieving revision 1.141 diff -u -F^f -r1.141 path.module --- modules/path/path.module 14 Apr 2008 17:48:38 -0000 1.141 +++ modules/path/path.module 18 Apr 2008 18:20:12 -0000 @@ -164,6 +164,18 @@ function path_nodeapi(&$node, $op, $arg) path_set_alias($path); } break; + + case 'update index': + // Add any path alias to the index, looking first for language specific + // aliases but using language neutral aliases otherwise. + $language = empty($node->language) ? '' : $node->language; + $path = 'node/' . $node->nid; + $output = drupal_get_path_alias($path, $language); + if ($output && $output != $path) { + // Using

makes the alias an important keyword for this node. + return '

' . $output . '

'; + } + break; } } }