fix: Closed Posts Displaying in CS

This commit is contained in:
JT Smith 2007-01-05 15:52:25 +00:00
parent f4b6d944b6
commit a0a055296b
4 changed files with 7 additions and 9 deletions

View file

@ -1090,14 +1090,15 @@ sub view {
and asset.state='published'
and asset.className='WebGUI::Asset::Post::Thread'
and assetData.revisionDate=(
SELECT
select
max(revisionDate)
from
assetData
where
assetData.assetId=asset.assetId
and (status='approved' or tagId=".$self->session->db->quote($self->session->scratch->get("versionTag")).")
)
and (status='approved' or status='archived')
)
and status='approved'
group by
assetData.assetId
order by

View file

@ -365,10 +365,6 @@ sub requestCommit {
A class method. Eliminates all revisions of all assets created under a specific version tag. Also removes the version tag.
=head3 tagId
The unique identifier of the version tag to be purged.
=cut
sub rollback {

View file

@ -1,8 +1,8 @@
package WebGUI::i18n::English::Asset_WikiMaster;
our $I18N = {
'assetName' =>
{ lastUpdated => 1160157064, message => 'Wiki' },
'assetName' => { lastUpdated => 1160157064, message => 'Wiki' },
'asset description' => { lastUpdated => 1160157064, message => q|A wiki is a collaborative content publishing mechanism. Traditionally wiki's use the wiki markup language, but that's generally not much easier to deal with than HTML, so WebGUI's wiki instead just uses a rich editor to help users publish rich great looking content.| },
mostPopularLabel => {message=>q|Most Popular|, lastUpdated=>0},
recentChangesLabel => {message=>q|Recent Changes|, lastUpdated=>0},