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

@ -2,6 +2,7 @@
- fix: SQLForm - cannot add new asset (Martin Kamerbeek / Oqapi) - fix: SQLForm - cannot add new asset (Martin Kamerbeek / Oqapi)
- fix: Daily recurring payment reports should now be sent to the - fix: Daily recurring payment reports should now be sent to the
configured "commerceSendDailyReportTo" address. configured "commerceSendDailyReportTo" address.
- fix: Closed Posts Displaying in CS
7.3.3 7.3.3
- fix: Wiki Purge throws fatal - fix: Wiki Purge throws fatal

View file

@ -1090,14 +1090,15 @@ sub view {
and asset.state='published' and asset.state='published'
and asset.className='WebGUI::Asset::Post::Thread' and asset.className='WebGUI::Asset::Post::Thread'
and assetData.revisionDate=( and assetData.revisionDate=(
SELECT select
max(revisionDate) max(revisionDate)
from from
assetData assetData
where where
assetData.assetId=asset.assetId 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 group by
assetData.assetId assetData.assetId
order by 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. 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 =cut
sub rollback { sub rollback {

View file

@ -1,8 +1,8 @@
package WebGUI::i18n::English::Asset_WikiMaster; package WebGUI::i18n::English::Asset_WikiMaster;
our $I18N = { our $I18N = {
'assetName' => 'assetName' => { lastUpdated => 1160157064, message => 'Wiki' },
{ 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}, mostPopularLabel => {message=>q|Most Popular|, lastUpdated=>0},
recentChangesLabel => {message=>q|Recent Changes|, lastUpdated=>0}, recentChangesLabel => {message=>q|Recent Changes|, lastUpdated=>0},