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

I want to show questions posted by new users on question page.

I think I have to change somewhere here

qa-include/db/selects.php

$sortsql = 'ORDER BY ^posts.' . $sort . ' DESC, ^posts.created DESC';

$sortsql = 'ORDER BY ^posts.' . $sort . ' DESC';

but don't know ?

Can someone help ?

by
+1
Orderby posts.userid will do the job
by
how can I remove anonymous from list ?
by
+1
Add "AND ^posts.userid IS NOT NULL" to the WHERE clause.

Please log in or register to answer this question.

...