There's no need to special case Posts in Account/Contributions. The view method referes you to the Thread, and if a user has multiple posts in a thread, it links to the Thread multiple times. Also, this fixes bug #11622.
This commit is contained in:
parent
fc1e356cfe
commit
ef419c8b7b
2 changed files with 1 additions and 6 deletions
|
|
@ -17,6 +17,7 @@
|
|||
- fixed #11619: Trash Expired Events not trashing events
|
||||
- fixed #11623: Navigation CSS-id
|
||||
- fixed #11629: WebGUI Collateral Manager = Error
|
||||
- fixed #11622: Archived CSS entries displayable.
|
||||
|
||||
7.9.6
|
||||
- new checkbox in the asset manager for clearing the package flag on import
|
||||
|
|
|
|||
|
|
@ -200,12 +200,6 @@ sub www_view {
|
|||
my $asset = WebGUI::Asset->newByDynamicClass( $session, $assetId );
|
||||
my $props = $asset->get;
|
||||
$props->{url} = $asset->getUrl;
|
||||
if (ref $asset eq "WebGUI::Asset::Post") {
|
||||
$asset = $asset->getThread;
|
||||
$props = $asset->get;
|
||||
$props->{className} = "WebGUI::Asset::Post";
|
||||
}
|
||||
|
||||
push(@contribs,$props);
|
||||
}
|
||||
my $contribsCount = $p->getRowCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue