correct sort order default

pull/2090/head^2
Isaac Connor 2018-05-01 09:43:09 -04:00
parent 11ce50925c
commit bbe0025641
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public $defaults = array(
'limit' => 100, 'limit' => 100,
'Query' => array(), 'Query' => array(),
'sort_field' => ZM_WEB_EVENT_SORT_FIELD, 'sort_field' => ZM_WEB_EVENT_SORT_FIELD,
'sort_asc' => (ZM_WEB_EVENT_SORT_ORDER == 'asc'), 'sort_asc' => (ZM_WEB_EVENT_SORT_ORDER == 'asc' ? 'asc' : 'desc'),
); );
public function __construct( $IdOrRow=NULL ) { public function __construct( $IdOrRow=NULL ) {