Index: trunk/kernel/units/config_search/config_search_config.php =================================================================== diff -u -r4810 -r6093 --- trunk/kernel/units/config_search/config_search_config.php (.../config_search_config.php) (revision 4810) +++ trunk/kernel/units/config_search/config_search_config.php (.../config_search_config.php) (revision 6093) @@ -68,25 +68,25 @@ 'Fields' => Array( - 'TableName' => Array('type' => 'string','not_null' => '1', 'required' => 1, 'default' => ''), - 'FieldName' => Array('type' => 'string','not_null' => '1', 'required' => 1, 'default' => ''), - 'SimpleSearch' => Array('type' => 'int','not_null' => '1','default' => '1'), - 'AdvancedSearch' => Array('type' => 'int','not_null' => '1','default' => '1'), - 'Description' => Array('type' => 'string','default' => ''), - 'DisplayName' => Array('type' => 'string', 'required' => 1, 'default' => ''), - 'ModuleName' => Array('type' => 'string', 'formatter'=>'kOptionsFormatter', 'options'=>Array(''=>''), 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Modules WHERE Loaded = 1 ORDER BY LoadOrder', 'option_key_field'=>'Name', 'option_title_field'=>'Name', 'not_null' => '1','default' => 'In-Portal'), - 'ConfigHeader' => Array('type' => 'string', 'required' => 1, 'default' => ''), - 'DisplayOrder' => Array('type' => 'int','not_null' => '1','default' => '0'), - 'SearchConfigId' => Array('type' => 'int','not_null' => '1','default' => ''), - 'Priority' => Array('type' => 'int','not_null' => '1','default' => '0'), - 'FieldType' => Array('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array('text' => 'text', 'range' => 'range', 'boolean' => 'boolean', 'date' => 'date'), 'not_null' => '1', 'required' => 1, 'default' => 'text'), - 'ForeignField' => Array('type' => 'string','default' => null), - 'JoinClause' => Array('type' => 'string','default' => null), - 'IsWhere' => Array('type' => 'string','default' => null), - 'IsNotWhere' => Array('type' => 'string','default' => null), - 'ContainsWhere' => Array('type' => 'string','default' => null), - 'NotContainsWhere' => Array('type' => 'string','default' => null), - 'CustomFieldId' => Array('type' => 'int', 'default' => null), + 'TableName' => Array('type' => 'string','not_null' => '1', 'required' => 1, 'default' => ''), + 'FieldName' => Array('type' => 'string','not_null' => '1', 'required' => 1, 'default' => ''), + 'SimpleSearch' => Array('type' => 'int','not_null' => '1','default' => '1'), + 'AdvancedSearch' => Array('type' => 'int','not_null' => '1','default' => '1'), + 'Description' => Array('type' => 'string','default' => ''), + 'DisplayName' => Array('type' => 'string', 'required' => 1, 'default' => ''), + 'ModuleName' => Array('type' => 'string', 'formatter'=>'kOptionsFormatter', 'options'=>Array(''=>''), 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Modules WHERE Loaded = 1 ORDER BY LoadOrder', 'option_key_field'=>'Name', 'option_title_field'=>'Name', 'not_null' => '1','default' => 'In-Portal'), + 'ConfigHeader' => Array('type' => 'string', 'required' => 1, 'default' => ''), + 'DisplayOrder' => Array('type' => 'int','not_null' => '1','default' => '0'), + 'SearchConfigId' => Array('type' => 'int','not_null' => '1','default' => ''), + 'Priority' => Array('type' => 'int','not_null' => '1','default' => '0'), + 'FieldType' => Array('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array('text' => 'text', 'range' => 'range', 'boolean' => 'boolean', 'date' => 'date'), 'not_null' => '1', 'required' => 1, 'default' => 'text'), + 'ForeignField' => Array('type' => 'string','default' => null), + 'JoinClause' => Array('type' => 'string','default' => null), + 'IsWhere' => Array('type' => 'string','default' => null), + 'IsNotWhere' => Array('type' => 'string','default' => null), + 'ContainsWhere' => Array('type' => 'string','default' => null), + 'NotContainsWhere' => Array('type' => 'string','default' => null), + 'CustomFieldId' => Array('type' => 'int', 'default' => null), ), 'VirtualFields' => Array(