Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display always selection checkbox on print_all_bug_page page #1644

Merged
merged 1 commit into from Apr 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/columns_api.php
Expand Up @@ -1079,7 +1079,8 @@ function print_column_selection( BugData $p_bug, $p_columns_target = COLUMNS_TAR
global $g_checkboxes_exist;

echo '<td class="column-selection">';
if( # check report_bug_threshold for the actions "copy" or "move" into any other project
if( COLUMNS_TARGET_PRINT_PAGE == $p_columns_target ||
# check report_bug_threshold for the actions "copy" or "move" into any other project
access_has_any_project_level( 'report_bug_threshold' ) ||
# !TODO: check if any other projects actually exist for the bug to be moved to
access_has_project_level( config_get( 'move_bug_threshold', null, null, $p_bug->project_id ), $p_bug->project_id ) ||
Expand Down