Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unifiy show_realname handling
Issue #24139
Issue #24435
  • Loading branch information
atrol committed May 30, 2018
1 parent 8717ada commit fe30950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/classes/BugFilterQuery.class.php
Expand Up @@ -1541,7 +1541,7 @@ protected function helper_sort_column_alias( $p_prop ) {
$t_select = 'COALESCE(';
# Note: show_realname should only be set at global or all_projects
# Note: sort_by_last_name is not supported here
if( ON == config_get( 'show_realname' ) ) {
if( user_show_realname() ) {
$t_select .= 'NULLIF(' . $t_table_alias . '.realname, \'\'), ';
}
$t_select .= $t_table_alias . '.username, ';
Expand Down

0 comments on commit fe30950

Please sign in to comment.