Ticket #1222: 1222.diff

File 1222.diff, 493 bytes (added by GautamGupta, 2 years ago)

A simple patch for the second problem

  • search.php

     
    1414 
    1515        $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' ); 
    1616        $relevant = $bb_query_form->results; 
     17         
     18        $bb_query_form->type = 'topic'; 
    1719 
    1820        $q = $bb_query_form->get( 'search' ); 
    1921}