- The export system now attempts to create the export path if it doesn't
already exist. - fix [ 1287741 ] 6.7.3 Cannot insert a WebGUI collateral image in IE. - fix [ 1293163 ] Error when using Syndication - fix [ 1295718 ] Moderating submissions/posts is broken - fix [ 1288770 ] Couldn't call method www_view on asset - fix [ 1278672 ] Timezones does not still not work properly in webgui
This commit is contained in:
parent
7a76e2efdc
commit
5efbd4a709
8 changed files with 32 additions and 11 deletions
|
|
@ -41,7 +41,6 @@ sub appendPostListTemplateVars {
|
|||
my $page = $p->getPageData;
|
||||
my $i = 0;
|
||||
foreach my $row (@$page) {
|
||||
#my $post = WebGUI::Asset::Wobject::Collaboration->newByPropertyHashRef($row);
|
||||
my $post = WebGUI::Asset::Wobject::Collaboration->new($row->{assetId}, $row->{className}, $row->{revisionDate});
|
||||
$post->{_parent} = $self; # caching parent for efficiency
|
||||
my $controls = deleteIcon('func=delete',$post->get("url"),"Delete").editIcon('func=edit',$post->get("url"));
|
||||
|
|
@ -903,7 +902,7 @@ sub view {
|
|||
$constraints .= " or assetData.status='pending'";
|
||||
}
|
||||
$constraints .= ")";
|
||||
my $sql = "select asset.assetId,asset.className,max(assetData.revisionDate)
|
||||
my $sql = "select asset.assetId,asset.className,max(assetData.revisionDate) as revisionDate
|
||||
from Thread
|
||||
left join asset on Thread.assetId=asset.assetId
|
||||
left join Post on Post.assetId=Thread.assetId and Thread.revisionDate = Post.revisionDate
|
||||
|
|
@ -1030,7 +1029,7 @@ sub www_search {
|
|||
}
|
||||
# please note that the SQL generated here-in is not for the feint of heart, mind, or stomach
|
||||
# this is for trained professionals only and should not be attempted at home
|
||||
my $sql = "select asset.assetId, asset.className, max(assetData.revisionDate)
|
||||
my $sql = "select asset.assetId, asset.className, max(assetData.revisionDate) as revisionDate
|
||||
from asset
|
||||
left join assetData on assetData.assetId=asset.assetId
|
||||
left join Post on Post.assetId=assetData.assetId and assetData.revisionDate = Post.revisionDate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue