Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a602348

Browse files
committedOct 13, 2012
Change Log must consistently rely on fixed_in_version
Change Log used target_version instead of fixed_in_version to manage issues' parent/child relationships. This caused unexpected behavior when target version did not match fixed in version. The SQL which retrieves the changelog issues now relies on fixed_in_version. Fixes #14788 Conflicts: changelog_page.php
1 parent 1a13a8b commit a602348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎changelog_page.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function print_project_header_changelog ( $p_project_name ) {
210210
continue;
211211
}
212212

213-
$t_query = "SELECT sbt.*, dbt.target_version AS parent_version, {bug_relationship}.source_bug_id FROM {bug} sbt
213+
$t_query = "SELECT sbt.*, dbt.fixed_in_version AS parent_version, {bug_relationship}.source_bug_id FROM {bug} sbt
214214
LEFT JOIN {bug_relationship} ON sbt.id={bug_relationship}.destination_bug_id AND {bug_relationship}.relationship_type=2
215215
LEFT JOIN {bug} dbt ON dbt.id={bug_relationship}.source_bug_id
216216
WHERE sbt.project_id=%d AND sbt.fixed_in_version=%s ORDER BY sbt.status ASC, sbt.last_updated DESC";

0 commit comments

Comments
 (0)
Please sign in to comment.