Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
247 views
in Q2A Core by
I am trying to filter search result by certain tags by useri previleges. I am guessing i can add parameter to $query and append tags to just fetch those tags based on user prvileges.

Am i heading in the right direction?

In which file is the $process_search located?

    //    Get the results
    
 $results=$module->process_search($query, $start, $count, $userid, $absoluteurls, $fullcontent);
Q2A version: latest

1 Answer

0 votes
by

You should make a plugin with its own search module. Your search module only needs the function process_search(...) which you can copy from qa-search-basic.php, before making the necessary modifications.

...