Permalink
Browse files

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

…s ANDed"

This reverts commit 543ba01.
  • Loading branch information...
dregad committed Mar 18, 2013
1 parent 540ae47 commit ce9610952ce730db9320302beed6fcce9efbcbb7
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/filter_api.php
View
@@ -2021,7 +2021,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 ce96109

Please sign in to comment.