Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
78 views
in Q2A Core by
How do I sort hidden questions at "domain.com/admin/hidden" from old to new?
Q2A version: 1.8.3

1 Answer

+1 vote
by
selected by
 
Best answer

It will need to hack the core program.

qa-include/db/selects.php (around L340 qa_db_qs_selectspec())

case 'created':
case 'hotness':
    if($specialtype == 'Q_HIDDEN'  && $sort == 'created')
        $sortsql = 'ORDER BY ^posts.' . $sort;
    else

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

...