Skip to content

Commit

Permalink
Archived content should be shown in the Account/Contributions screen.…
Browse files Browse the repository at this point in the history
… Fixes bug #11643.
  • Loading branch information
perlDreamer committed Jun 15, 2010
1 parent c821e20 commit 28f2adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
Expand Up @@ -3,6 +3,7 @@
- fixed #11623: Navigation CSS-id
- fixed #11622: Archived CSS entries displayable.
- fixed #11560: Email footer hidden from Outlook users
- fixed #11643: Account/Contributions: does not show archived content

7.8.21
- fixed #11597: manageTrash and newlines
Expand Down
5 changes: 3 additions & 2 deletions lib/WebGUI/Account/Contributions.pm
Expand Up @@ -180,8 +180,9 @@ sub www_view {
'WebGUI::Asset::WikiPage',
'WebGUI::Asset::Post::Thread',
],
whereClause => "asset.createdBy = '$userId' or assetData.ownerUserId = '$userId'",
orderByClause => "$sortBy $sortDir"
statusToInclude => [ qw/approved archived/ ],
whereClause => "asset.createdBy = '$userId' or assetData.ownerUserId = '$userId'",
orderByClause => "$sortBy $sortDir"
}
);

Expand Down

0 comments on commit 28f2adc

Please sign in to comment.