View Issue Details

IDProjectCategoryView StatusLast Update
0007941mantisbtsqlpublic2012-02-05 19:16
Reporterbertheikamp Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.1.0a3 
Summary0007941: future version not filtered
Description

I Found out that the future versions where not working, so I made a change in the code, see the additional information for my sollution.

Additional Information

change in de core/versions_api.php, modified function version_get_all_rows

$t_project_version_table = config_get( 'mantis_project_version_table' );

if ( $p_released === null ) {
$t_released_where = '';
} else if ($p_released == '0') {
$t_released_where = "AND date_order > (select date_order FROM $t_project_version_table where project_id='$c_project_id' and released=1) and released=0";
} else {
$c_released = db_prepare_int( $p_released );
$t_released_where = "AND ( released = $c_released )";
}

modified bug_update_advanced_page.php, bug_change_status_page.php, (may be there a more pages, that I didn't think of).

changed the VERSION_ALL in VERSION_FUTURE

now it all works fine, may be this is a fix that can be implemented in the next release ?

Tagspatch

Activities

bertheikamp

bertheikamp

2007-05-09 05:56

reporter   ~0014468

bug_actiongroup_page.php, fixed in version should also show only the future version.