From 5bf297cb14165c171d84940097e0f45a41606b03 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 22 Jul 2013 05:23:41 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=AF=E6=8C=81=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=9A=84=E6=8E=92=E5=BA=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/order/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/order/Order.php b/application/models/order/Order.php index 003cbcf2..e576aecc 100644 --- a/application/models/order/Order.php +++ b/application/models/order/Order.php @@ -205,7 +205,7 @@ class Order where mr.reftype=3 and mr.uuid=d.uuid order by mr.place),'\n'::text) as reference, array_to_string(array( select fund.fund_type||':'||fund.title||'(编号:'||fund.fund_id||')' - from fund left join mdfund on fund.id=mdfund.fid where mdfund.uuid=d.uuid),'\n'::text) as fund, + from fund left join mdfund on fund.id=mdfund.fid where mdfund.uuid=d.uuid order by mdfund.place),'\n'::text) as fund, doi.doi as datadoi,doi.authors,doi.publisher,doi.title as doititle,doi.author_en,doi.publisher_en,doi.title_en from dataorder d left join metadata m on d.uuid=m.uuid left join datadoi doi on doi.uuid=d.uuid where d.status=2 and d.userid=? order by d.ts_created desc