Skip to content

Commit

Permalink
Revert "filter_api: ensure that the free_text where clauses are alway…
Browse files Browse the repository at this point in the history
…s ANDed"

This reverts commit 543ba01.
  • Loading branch information
dregad committed Mar 18, 2013
1 parent 4a95223 commit d4e7b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/filter_api.php
Expand Up @@ -1996,7 +1996,8 @@ function filter_get_bug_rows( &$p_page_number, &$p_per_page, &$p_page_count, &$p
# add text query elements to arrays
if ( !$t_first ) {
$t_from_clauses[] = "$t_bug_text_table";
$t_where_clauses[] = "$t_bug_table.bug_text_id = $t_bug_text_table.id AND $t_textsearch_where_clause";
$t_where_clauses[] = "$t_bug_table.bug_text_id = $t_bug_text_table.id";
$t_where_clauses[] = $t_textsearch_where_clause;
$t_join_clauses[] = " LEFT JOIN $t_bugnote_table ON $t_bug_table.id = $t_bugnote_table.bug_id";
$t_join_clauses[] = " LEFT JOIN $t_bugnote_text_table ON $t_bugnote_table.bugnote_text_id = $t_bugnote_text_table.id";
}
Expand Down

0 comments on commit d4e7b22

Please sign in to comment.