From c8cfe4ec82090b67b902b6baaf74758b7b66912e Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 11 Jun 2012 09:54:51 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86mdversion=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=96=B0=E8=AE=B0=E5=BD=95=E6=97=B6=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/AuthorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php index 737e1bb2..0be395e2 100644 --- a/application/default/controllers/AuthorController.php +++ b/application/default/controllers/AuthorController.php @@ -3079,7 +3079,7 @@ class AuthorController extends Zend_Controller_Action select x.data,m.ts_created,?,?,? from metadata m left join xml x on m.id=x.id left join mdversion v on m.uuid=v.uuid where m.uuid=? and v.changelog is null - order by v.ts_created ASC LIMIT 1"; + order by v.ts_created DESC LIMIT 1"; $sth=$this->db->prepare($sql); try {