fix: Closed Posts Displaying in CS
This commit is contained in:
parent
f4b6d944b6
commit
a0a055296b
4 changed files with 7 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue