Index: branches/RC/core/units/general/helpers/search_helper.php =================================================================== diff -u -N -r11412 -r11538 --- branches/RC/core/units/general/helpers/search_helper.php (.../search_helper.php) (revision 11412) +++ branches/RC/core/units/general/helpers/search_helper.php (.../search_helper.php) (revision 11538) @@ -210,6 +210,12 @@ */ function getSearchClause(&$object, $field_name, $search_keyword, $custom_search) { + if (array_key_exists($field_name, $object->VirtualFields) && !array_key_exists($field_name, $object->CalculatedFields)) { + // Virtual field, that is shown in grid, but it doesn't have corresponding calculated field. + // Happens, when field value is calculated on the fly (during grid display) and it is not searchable. + return ''; + } + $search_keywords = $this->splitKeyword($search_keyword); extract( $this->getFieldInformation($object, $field_name) ); // see getFieldInformation for more details