diff --git a/html/svc/table-cache.php b/html/svc/table-cache.php index 677a1d1..ae9009e 100644 --- a/html/svc/table-cache.php +++ b/html/svc/table-cache.php @@ -55,7 +55,7 @@ function ensure_cached_table( &$colIdxs = null){ global $g_bu_table; if(count($g_bu_table)>0) return; - getbu_list_all( $g_bu_table, $colIdxs, 'order by BU_DATE desc, BU_TIME desc' ); + getbu_list_all( $g_bu_table, $colIdxs, 'order by BU_DATE asc, BU_TIME asc' ); debug_println("cache loaded", DEBUG_MED ); }