Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
604 views
in Q2A Core by

I already found out how to hide closed question from "Unanswered", "No selected Answer" and "No upvoted answer" question list.

However, I still need to hide them from "Questions", i.e. from:

- /questions
- /questions?sort=hot
- /questions?sort=votes
- /questions?sort=answers

Do I need to change the function qa_db_qs_selectspec for that or another one? In which query should I insert AND closedbyid IS NULL ?

 

1 Answer

0 votes
by

You can add it inside function qa_db_qs_selectspec(...) in the $selectspec['source'] part. 

...