Index: trunk/kernel/units/config_search/config_search_config.php =================================================================== diff -u -N -r7867 -r8015 --- trunk/kernel/units/config_search/config_search_config.php (.../config_search_config.php) (revision 7867) +++ trunk/kernel/units/config_search/config_search_config.php (.../config_search_config.php) (revision 8015) @@ -70,15 +70,15 @@ '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' => ''), + 'SimpleSearch' => Array('type' => 'int', 'not_null' => 1, 'default' => 1), + 'AdvancedSearch' => Array('type' => 'int', 'not_null' => 1, 'default' => 1), + 'Description' => Array('type' => 'string','default' => null), + 'DisplayName' => Array('type' => 'string', 'required' => 1, 'default' => null), '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'), + 'ConfigHeader' => Array('type' => 'string', 'required' => 1, 'default' => null), + 'DisplayOrder' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), 'SearchConfigId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), - 'Priority' => Array('type' => 'int','not_null' => '1','default' => '0'), + '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),