Index: trunk/kernel/include/customfield.php =================================================================== diff -u -N -r667 -r979 --- trunk/kernel/include/customfield.php (.../customfield.php) (revision 667) +++ trunk/kernel/include/customfield.php (.../customfield.php) (revision 979) @@ -207,7 +207,10 @@ $dtable = GetTablePrefix()."CustomMetaData"; $Join = "($dtable.ResourceId={Table}.ResourceId)"; - $objSearchConfig->AddSearchField($Table,$FieldName,$Module,0,0,$FieldLabel,$desc,$Header,$NextOrder,0,"text",$Join,$f->Get("CustomFieldId")); + $objSearchConfig->AddSearchField($Table,$FieldName,$Module,0,0, + $FieldLabel,$desc,$Header,$NextOrder,0, + "text",$Join, NULL, NULL, NULL, NULL, + $f->Get("CustomFieldId"), "CustomMetaData.Value"); } return $f; //}