Quote:
Originally Posted by OshkoshJon
Sort by name and sort by count both sort by count... might want to fix that 
|
Here is a fix...
Find:
Code:
$sql_q = mysql_query("select search_text, search_count from search_queries_sorted order by search_count DESC");
And replace it with:
Code:
$sql_q = mysql_query("select search_text, search_count from search_queries_sorted order by " . $HTTP_POST_VARS['sortorder'] . " " . $HTTP_POST_VARS['ascdsc']);
The original post has been update with this fix
