okapi r880: fixed logs order

This commit is contained in:
following 2013-07-17 13:29:19 +02:00
parent 0a821011d3
commit bb5624539a
2 changed files with 2 additions and 2 deletions

View File

@ -814,7 +814,7 @@ class Okapi
{
public static $data_store;
public static $server;
public static $revision = 879; # This gets replaced in automatically deployed packages
public static $revision = 880; # This gets replaced in automatically deployed packages
private static $okapi_vars = null;
/** Get a variable stored in okapi_vars. If variable not found, return $default. */

View File

@ -648,7 +648,7 @@ class WebService
where
cache_id in ('".implode("','", array_map('mysql_real_escape_string', array_keys($cacheid2wptcode)))."')
and ".((Settings::get('OC_BRANCH') == 'oc.pl') ? "deleted = 0" : "true")."
order by cache_id, date desc
order by cache_id, date desc, date_created desc
");
$loguuids = array();
$log2cache_map = array();