Skip to content

Commit

Permalink
Revert "Remove DISTINCT clause from filter_get_bug_rows query"
Browse files Browse the repository at this point in the history
This reverts commit 9c57416.

Issue #16259
  • Loading branch information
dregad committed Oct 12, 2013
1 parent ce494fd commit a451d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/filter_api.php
Expand Up @@ -2066,7 +2066,7 @@ function filter_get_bug_rows( &$p_page_number, &$p_per_page, &$p_page_count, &$p
$p_page_number = filter_valid_page_number( $p_page_number, $p_page_count );
$t_offset = filter_offset( $p_page_number, $p_per_page );
$t_query_clauses = filter_unique_query_clauses( $t_query_clauses );
$t_select_string = "SELECT " . implode( ', ', $t_query_clauses['select'] );
$t_select_string = "SELECT DISTINCT " . implode( ', ', $t_query_clauses['select'] );
$t_from_string = " FROM " . implode( ', ', $t_query_clauses['from'] );
$t_order_string = " ORDER BY " . implode( ', ', $t_query_clauses['order'] );
$t_join_string = count( $t_query_clauses['join'] ) > 0 ? implode( ' ', $t_query_clauses['join'] ) : '';
Expand Down

0 comments on commit a451d13

Please sign in to comment.