Skip to content

Commit

Permalink
board page: fix SQL query format for non-MySQL databases
Browse files Browse the repository at this point in the history
Regression introduced by 9afe4ca
  • Loading branch information
rombert committed Apr 21, 2013
1 parent 897836e commit 051497e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scrum/pages/board.php
Expand Up @@ -16,7 +16,7 @@


# Fetch list of target versions in use for the given projects
$query = "SELECT DISTINCT v.version FROM {$version_table} v JOIN {$bug_table} b ON b.target_version= v.version WHERE v.project_id IN (".join(", ", $project_ids). ") ORDER BY v.date_order DESC";
$query = "SELECT DISTINCT v.version, b.target_version FROM {$version_table} v JOIN {$bug_table} b ON b.target_version= v.version WHERE v.project_id IN (".join(", ", $project_ids). ") ORDER BY v.date_order DESC";

$result = db_query_bound($query);

Expand Down

0 comments on commit 051497e

Please sign in to comment.