I Found out that the future versions where not working, so I made a change in the code.
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
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 ?
future versions
Moderators: Developer, Contributor
future versions
Last edited by bheikamp on 09 May 2007, 07:51, edited 1 time in total.
Hi bheikamp,
Can you please report this issue into the bug tracker. Also please include the symptoms of the bug.
Can you please report this issue into the bug tracker. Also please include the symptoms of the bug.
Migrate your MantisBT to the MantisHub Cloud