ผมพึ่งแก้เมื่อวานนี้เอง จริงๆเชิชกูเกิลก็เจอคำตอบเพียบเลยนะครับ
ค้นหา
// They didn't pick one, default to by last post descending.
if (!isset($_REQUEST['sort']) || !isset($sort_methods[$_REQUEST['sort']]))
{
$context['sort_by'] = 'last_post';
$_REQUEST['sort'] = 'id_last_msg';
$ascending = isset($_REQUEST['asc']);
}
แก้เป็น
// They didn't pick one, default to by last post descending.
if (!isset($_REQUEST['sort']) || !isset($sort_methods[$_REQUEST['sort']]))
{
$context['sort_by'] = 'last_post';
$_REQUEST['sort'] = 'id_topic';
$ascending = isset($_REQUEST['asc']);
}
ที่มาครับ
http://www.welovethailand.com/webboard/index.php?topic=90.0 