From: <var...@us...> - 2015-03-09 10:06:06
|
Revision: 9620 http://sourceforge.net/p/phpwiki/code/9620 Author: vargenau Date: 2015-03-09 10:05:59 +0000 (Mon, 09 Mar 2015) Log Message: ----------- Comment only Modified Paths: -------------- trunk/lib/WikiDB/backend/PearDB.php Modified: trunk/lib/WikiDB/backend/PearDB.php =================================================================== --- trunk/lib/WikiDB/backend/PearDB.php 2015-03-06 17:21:47 UTC (rev 9619) +++ trunk/lib/WikiDB/backend/PearDB.php 2015-03-09 10:05:59 UTC (rev 9620) @@ -682,7 +682,7 @@ } /* - * Title and fulltext search. + * Text search (title or full text) */ public function text_search($search, $fulltext = false, $sortby = '', $limit = '', $exclude = '') @@ -691,7 +691,6 @@ extract($this->_table_names); $orderby = $this->sortby($sortby, 'db'); if ($orderby) $orderby = ' ORDER BY ' . $orderby; - //else " ORDER BY rank($field, to_tsquery('$searchon')) DESC"; $searchclass = get_class($this) . "_search"; // no need to define it everywhere and then fallback. memory! This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |