Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
276 views
in Q2A Core by

Line number 1048, db/selects.php

@Scott Can the following change be made to the query as it makes overriding easier?

 $selectspec['source'].=" WHERE ^posts.userid=".(QA_FINAL_EXTERNAL_USERS ? "$" : "(SELECT userid FROM ^users WHERE handle=$ LIMIT 1)")." AND ^posts.type='Q' ORDER BY ^posts.created DESC LIMIT #,#";

Q2A version: 1.7.4

Please log in or register to answer this question.

...