fix sql error
This commit is contained in:
parent
f43ef26d08
commit
dd3f89b796
|
@ -2835,7 +2835,7 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
//查看所有的未提交数据列表
|
//查看所有的未提交数据列表
|
||||||
else if((empty($ac) && empty($uuid))|| $ac=='list')
|
else if((empty($ac) && empty($uuid))|| $ac=='list')
|
||||||
{
|
{
|
||||||
$sql = "SELECT (regexp_matches(gn.data,'<resTitle>(.*)</resTitle>'))[1] as title,gn.id,gn.uuid,u.username,u.realname FROM geonetworkmetadata gn left join users u on gn.owner=users.id
|
$sql = "SELECT (regexp_matches(gn.data,'<resTitle>(.*)</resTitle>'))[1] as title,gn.id,gn.uuid,u.username,u.realname FROM geonetworkmetadata gn left join users u on gn.owner=u.id
|
||||||
WHERE gn.uuid not in (select uuid from metadata)
|
WHERE gn.uuid not in (select uuid from metadata)
|
||||||
order by gn.id desc
|
order by gn.id desc
|
||||||
";
|
";
|
||||||
|
|
Loading…
Reference in New Issue