diff options
| author | Hash9 <hash9@users.sourceforge.net> | 2006-02-02 14:39:47 +0000 |
|---|---|---|
| committer | Hash9 <hash9@users.sourceforge.net> | 2006-02-02 14:39:47 +0000 |
| commit | a06df5176d1c67d91fa2e5a2f3b5e2bbcfcf7773 (patch) | |
| tree | 3763e7e558327d602983f651671cf228141cdfa4 /index.php | |
| parent | 1f622e8ba676f2aeeda1a3571eec3990652b2a80 (diff) | |
| download | calendar-a06df5176d1c67d91fa2e5a2f3b5e2bbcfcf7773.tar.gz calendar-a06df5176d1c67d91fa2e5a2f3b5e2bbcfcf7773.tar.bz2 calendar-a06df5176d1c67d91fa2e5a2f3b5e2bbcfcf7773.zip | |
add the (default) option to sort by event date
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.37 2006/01/10 21:19:49 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.38 2006/02/02 14:39:46 hash9 Exp $ // Copyright( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. @@ -66,7 +66,7 @@ $gBitSmarty->assign_by_ref( 'calDay', $calDay = $gCalendar->buildDay( $_SESSION[ if( $_SESSION['calendar']['content_type_guid'] ) { $listHash = $_SESSION['calendar']; $listHash['user_id'] = !empty( $_REQUEST['user_id'] ) ? $_REQUEST['user_id'] : NULL; - $listHash['sort_mode'] = !empty( $_REQUEST['sort_mode'] ) ? $_REQUEST['sort_mode'] : 'last_modified_asc'; + $listHash['sort_mode'] = !empty( $_REQUEST['sort_mode'] ) ? $_REQUEST['sort_mode'] : 'event_time_asc'; $listHash['offset'] = 0; $listHash['max_records'] = 500; $bitEvents = $gCalendar->getList( $listHash ); |
