Ticket #1222: search.php.2.diff
| File search.php.2.diff, 928 bytes (added by GautamGupta, 2 years ago) |
|---|
-
search.php
12 12 $bb_query_form->BB_Query_Form( 'post', array(), array( 'order_by' => 'p.post_time', 'per_page' => 5, 'post_status' => 0, 'topic_status' => 0, 'post_text' => $q, 'forum_id', 'tag', 'topic_author', 'post_author' ), 'bb_recent_search' ); 13 13 $recent = $bb_query_form->results; 14 14 15 $bb_query_form->BB_Query_Form( ' topic', array( 'search' => $q ), array( 'post_status' => 0, 'topic_status' => 0, 'search', 'forum_id', 'tag', 'topic_author', 'post_author' ), 'bb_relevant_search' );15 $bb_query_form->BB_Query_Form( 'post', array( 'search' => $q ), array( 'post_status' => 0, 'topic_status' => 0, 'search', 'forum_id', 'tag', 'topic_author', 'post_author' ), 'bb_relevant_search' ); 16 16 $relevant = $bb_query_form->results; 17 17 18 18 $q = $bb_query_form->get( 'search' );