Added documentation wiki search.

This commit is contained in:
Loic d'Anterroches
2008-11-25 20:32:33 +01:00
parent 4dc0747769
commit fd9cb62946
6 changed files with 68 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ class IDF_WikiPage extends Pluf_Model
function _toIndex()
{
$rev = $this->get_current_revision()->_toIndex();
$str = str_repeat($this->summary.' ', 4).' '.$rev;
$str = str_repeat($this->title.' '.$this->summary.' ', 4).' '.$rev;
return Pluf_Text::cleanString(html_entity_decode($str, ENT_QUOTES, 'UTF-8'));
}