Changeset View
Changeset View
Standalone View
Standalone View
core/units/logs/system_logs/system_logs_config.php
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | |||||
'ListSortings' => Array ( | 'ListSortings' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
'Sorting' => Array ('LogId' => 'desc'), | 'Sorting' => Array ('LogId' => 'desc'), | ||||
) | ) | ||||
), | ), | ||||
'CalculatedFields' => Array ( | 'CalculatedFields' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
Lint: CodingStandard.Arrays.Array.SpaceAfterKeyword: There must be no space between the Array keyword and the opening parenthesis | |||||
PHP keywords must be lowercase; expected "array" but found "Array" Lint: Generic.PHP.LowerCaseKeyword.Found: PHP keywords must be lowercase; expected "array" but found "Array" | |||||
'Username' => 'CASE %1$s.LogUserId WHEN ' . USER_ROOT . ' THEN "root" WHEN ' . USER_GUEST . ' THEN "Guest" ELSE IF(CONCAT(u.FirstName, u.LastName) <> "", CONCAT(u.FirstName, " ", u.LastName), IF(u.Username = "", u.Email, u.Username)) END', | 'Username' => 'CASE %1$s.LogUserId WHEN ' . USER_ROOT . ' THEN "root" WHEN ' . USER_SYSTEM . ' THEN "system" WHEN ' . USER_GUEST . ' THEN "Guest" ELSE IF(CONCAT(u.FirstName, u.LastName) <> "", CONCAT(u.FirstName, " ", u.LastName), IF(u.Username = "", u.Email, u.Username)) END', | ||||
Done ReplyFor every change like this please update the test plan to include visiting the corresponding section with a non-empty grid to allow checking, that there is no SQL error. alex: For every change like this please update the test plan to include visiting the corresponding… | |||||
), | ), | ||||
), | ), | ||||
'ForceDontLogChanges' => true, | 'ForceDontLogChanges' => true, | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'LogId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'LogId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'LogUniqueId' => Array ('type' => 'int', 'default' => NULL), | 'LogUniqueId' => Array ('type' => 'int', 'default' => NULL), | ||||
▲ Show 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | |||||
'LogProcessId' => Array ('filter_block' => 'grid_range_filter', 'width' => 80), | 'LogProcessId' => Array ('filter_block' => 'grid_range_filter', 'width' => 80), | ||||
'LogMemoryUsed' => Array ('data_block' => 'grid_memory_td', 'filter_block' => 'grid_range_filter'), | 'LogMemoryUsed' => Array ('data_block' => 'grid_memory_td', 'filter_block' => 'grid_range_filter'), | ||||
'LogUserData' => Array ('filter_block' => 'grid_like_filter', 'nl2br' => 1), | 'LogUserData' => Array ('filter_block' => 'grid_like_filter', 'nl2br' => 1), | ||||
'LogNotificationStatus' => Array ('filter_block' => 'grid_options_filter'), | 'LogNotificationStatus' => Array ('filter_block' => 'grid_options_filter'), | ||||
'LogBacktrace' => Array ('data_block' => 'grid_backtrace_td', 'filter_block' => 'grid_empty_filter', 'width' => 500, 'hidden' => 1), | 'LogBacktrace' => Array ('data_block' => 'grid_backtrace_td', 'filter_block' => 'grid_empty_filter', 'width' => 500, 'hidden' => 1), | ||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |
There must be no space between the Array keyword and the opening parenthesis