- Converted all the max((assetData.)revisionDate) calls to use mysql5/(4.1)
nested queries. - fix [ 1323184 ] CS Submissions Not Sorting on multiple sites - fixed some major oversights in the new profile system.
This commit is contained in:
parent
d8cea7a566
commit
f5f73c1681
16 changed files with 61 additions and 42 deletions
|
|
@ -114,7 +114,7 @@ sub getAssetsInClipboard {
|
|||
my $sth = WebGUI::SQL->read("
|
||||
select
|
||||
asset.assetId,
|
||||
max(assetData.revisionDate),
|
||||
assetData.revisionDate,
|
||||
asset.className
|
||||
from
|
||||
asset
|
||||
|
|
@ -122,6 +122,7 @@ sub getAssetsInClipboard {
|
|||
assetData on asset.assetId=assetData.assetId
|
||||
where
|
||||
asset.state='clipboard'
|
||||
and assetData.revisionDate=(SELECT max(revisionDate) from assetData where assetData.assetId=asset.assetId)
|
||||
$limit
|
||||
group by
|
||||
assetData.assetId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue