diff --git a/index-en.php b/index-en.php index 35484cd..86a862e 100644 --- a/index-en.php +++ b/index-en.php @@ -343,7 +343,7 @@ if ($has_vanilla_db_access) { $stmt_vanilla_db = $db->prepare( "SELECT cl_scobjs_id, cl_scobjs_name, cl_scobjs_type, cl_scobjs_subtype, cl_scobjs_uuid, cl_scobjs_rarity, cl_scobjs_description FROM tbl_scobjs" . $vanilla_db_where_sql . " - ORDER BY cl_scobjs_name ASC, cl_scobjs_type ASC, cl_scobjs_subtype ASC, cl_scobjs_id ASC + ORDER BY cl_scobjs_id DESC LIMIT :vanilla_limit OFFSET :vanilla_offset" ); diff --git a/index.php b/index.php index 3ce4de9..67e1712 100644 --- a/index.php +++ b/index.php @@ -343,7 +343,7 @@ if ($has_vanilla_db_access) { $stmt_vanilla_db = $db->prepare( "SELECT cl_scobjs_id, cl_scobjs_name, cl_scobjs_type, cl_scobjs_subtype, cl_scobjs_uuid, cl_scobjs_rarity, cl_scobjs_description FROM tbl_scobjs" . $vanilla_db_where_sql . " - ORDER BY cl_scobjs_name ASC, cl_scobjs_type ASC, cl_scobjs_subtype ASC, cl_scobjs_id ASC + ORDER BY cl_scobjs_id DESC LIMIT :vanilla_limit OFFSET :vanilla_offset" );