View Issue Details

IDProjectCategoryView StatusLast Update
0003958mantisbtbugtrackerpublic2004-07-07 18:48
Reportermasc Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformX86OSWindowsOS VersionWin2K
Product Versiongit trunk 
Summary0003958: Changelog page does not filter for project
Description

There is a mistake in the SQL sentence used to filter the bugs in the changelog page. It's missing the project_id in the WHERE clause.
Here after the patched SQL sentence:
$query = "SELECT id, summary, view_state FROM $t_bug_table WHERE fixed_in_version='$c_version' and project_id='$f_project_id' ORDER BY last_updated DESC";
The result is that in the changelog of a specific project can appear bugs belonging to other projects.

TagsNo tags attached.

Activities

vboctor

vboctor

2004-06-20 16:57

manager   ~0005738

Fixed in CVS. Will be included in 0.19.0.

Related Changesets

MantisBT: master 6c7e4dbf

2004-06-20 17:59

vboctor


Details Diff
Fix 0003958: Changelog page does not filter for project

M changelog_page.php
- thanks to masc.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2612 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003958
mod - changelog_page.php Diff File