Преглед на файлове

Fixed bug (Trac #53), I don't know exactly what I did (!) but I've copied what's done in __DescribeHTML and this makes the full text search work for organizations !
Note that __DescribeHTML actually modifies the objects it is applied to (via a referenced passed to the Describe method)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@200 a333f486-631f-4898-b8df-5754b55c2be0

dflaven преди 15 години
родител
ревизия
f4f771f4f8
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      core/dbobjectsearch.class.php

+ 2 - 0
core/dbobjectsearch.class.php

@@ -275,6 +275,8 @@ class DBObjectSearch
 	public function AddCondition_FullText($sFullText)
 	{
 		$this->m_aFullText[] = $sFullText;
+		$index = count($this->m_aParams) + 1;
+		$this->m_aParams['param'.$index] = 1;
 	}
 
 	protected function AddToNameSpace(&$aClassAliases, &$aAliasTranslation)