Skip to content

Commit

Permalink
0003945: [filters] Give the ability to "Update Fixed in Version" in v…
Browse files Browse the repository at this point in the history
…iew_all_bug_page.php

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2747 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
narcissus committed Jul 24, 2004
1 parent bf4f9d1 commit a1025a7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
5 changes: 3 additions & 2 deletions bug_actiongroup.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: bug_actiongroup.php,v 1.31 2004-06-15 02:54:39 narcissus Exp $
# $Id: bug_actiongroup.php,v 1.32 2004-07-24 11:48:33 narcissus Exp $
# --------------------------------------------------------
?>
<?php
Expand Down Expand Up @@ -80,7 +80,8 @@
if ( access_has_bug_level( config_get( 'update_bug_threshold' ), $t_bug_id ) &&
access_has_bug_level( config_get( 'handle_bug_threshold' ), $t_bug_id )) {
$f_resolution = gpc_get_int( 'resolution' );
bug_resolve( $t_bug_id, $f_resolution );
$f_fixed_in_version = gpc_get_string( 'fixed_in_version', '' );
bug_resolve( $t_bug_id, $f_resolution, $f_fixed_in_version );
} else {
$t_failed_ids[] = $t_bug_id;
}
Expand Down
29 changes: 28 additions & 1 deletion bug_actiongroup_page.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: bug_actiongroup_page.php,v 1.39 2004-06-11 02:00:00 narcissus Exp $
# $Id: bug_actiongroup_page.php,v 1.40 2004-07-24 11:48:33 narcissus Exp $
# --------------------------------------------------------
?>
<?php
Expand Down Expand Up @@ -64,6 +64,11 @@
$t_button_title = lang_get( 'resolve_group_bugs_button' );
$t_form = 'resolution';
$t_request = 'resolution'; # the "request" vars allow to display the adequate list
$c_project_id = helper_get_current_project();
if ( ALL_PROJECTS != $c_project_id ) {
$t_question_title2 = lang_get( 'fixed_in_version' );
$t_form2 = 'fixed_in_version';
}
break;

case 'UP_PRIOR' :
Expand Down Expand Up @@ -146,6 +151,28 @@
</select>
</td>
</tr>
<?php
if ( isset( $t_question_title2 ) ) {
?>
<tr class="row-2">
<td class="category">
<?php echo $t_question_title2 ?>
</td>
<td>
<select name="<?php echo $t_form2 ?>">
<?php
switch ( $f_action ) {
case 'RESOLVE':
print_version_option_list( '', null, VERSION_ALL );
break;
}
?>
</select>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -5,6 +5,7 @@ Mantis ChangeLog
- 0004137: [feature] Support a simple "view" URL (vboctor)
- 0004145: [feature] Mantis pages should have descriptive titles (vboctor)
- 0003880: [filters] Ordering doesnt take last_updated into account (narcissus)
- 0003945: [filters] Give the ability to "Update Fixed in Version" in view_all_bug_page.php (narcissus)
- 0004073: [filters] Edit filter page now too wide. 'Apply filter' button is drawn off screen (narcissus)
- 0004093: [filters] Custom field values are a larger type size in view_all_bug_page (narcissus)
- 0004108: [filters] "Use Date Filters" in advanced filters (narcissus)
Expand Down

0 comments on commit a1025a7

Please sign in to comment.