Skip to content
Browse files

Revert "filter_api: ensure that the free_text where clauses are alway…

…s ANDed"

This reverts commit 543ba01.
  • Loading branch information...
1 parent 4a95223 commit d4e7b22403bd5d36cc14914d3d52235fa0a99e53 @dregad dregad committed Mar 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/filter_api.php
View
3 core/filter_api.php
@@ -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";
}

0 comments on commit d4e7b22

Please sign in to comment.
Something went wrong with that request. Please try again.