修改了mdversion创建新记录时调用的时间
This commit is contained in:
parent
348912eb78
commit
c8cfe4ec82
|
@ -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
|
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
|
left join mdversion v on m.uuid=v.uuid
|
||||||
where m.uuid=? and v.changelog is null
|
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);
|
$sth=$this->db->prepare($sql);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue