diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2011-01-25 17:00:52 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2011-01-25 17:00:52 (GMT) |
commit | 4652a20f2fe826135799e849141071ac9db63051 (patch) | |
tree | db283980632f198531c198487a5821ad9c0068e7 | |
parent | 055caa11486028fdd73c745f4cdf3ff0e1fd4bcb (diff) |
Treat activity versions as numbers
-rw-r--r-- | site/app/webroot/services/micro-format.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/webroot/services/micro-format.php b/site/app/webroot/services/micro-format.php index cb5b44b..1f600e6 100644 --- a/site/app/webroot/services/micro-format.php +++ b/site/app/webroot/services/micro-format.php @@ -78,7 +78,7 @@ if (empty($errors)) { addons.guid, default_lang.localized_string as default_name, requested_lang.localized_string as name, - max(versions.version) as version + MAX(CAST(versions.version AS UNSIGNED)) as version FROM collections INNER JOIN addons_collections ON collections.id = addons_collections.collection_id |