Explorar o código

! Mantis bug 1288, forcing ordering of table not to be based arbitrary row order, or insertion order but name followed by date

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer %!s(int64=11) %!d(string=hai) anos
pai
achega
03cb0e1e27
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/ManageCalendar.php

+ 2 - 2
Sources/ManageCalendar.php

@@ -127,8 +127,8 @@ function ModifyHolidays()
 					),
 				),
 				'sort' => array(
-					'default' => 'title',
-					'reverse' => 'title DESC',
+					'default' => 'title ASC, event_date ASC',
+					'reverse' => 'title DESC, event_date ASC',
 				)
 			),
 			'date' => array(