rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
61e82c31df
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      database/relation.php

+ 3 - 3
database/relation.php

@@ -97,7 +97,7 @@ return array
 				'end' => array('yes-cdate', '<=')
 			),
 			'type' => 'all',
-			'order' => array('id' => 'desc'),
+			'order' => array('level' => 'asc','id' => 'desc'),
 			'col' => '*',
 		),
 
@@ -111,7 +111,7 @@ return array
 				'end' => array('yes-cdate', '<=')
 			),
 			'type' => 'all',
-			'order' => array('id' => 'desc'),
+			'order' => array('level' => 'asc','id' => 'desc'),
 			'page' => array(10, 'list'),
 			'col' => '*',
 		),
@@ -139,7 +139,7 @@ return array
 				'level' => array('yes', '<='),
 			),
 			'type' => 'all',
-			'order' => array('id' => 'desc'),
+			'order' => array('level' => 'asc', 'id' => 'desc'),
 			'col' => '*',
 		),