Commit c6cd6f1dbc9852f3df110d9ef1db66f407a3188f

Authored by kevin_fourie
1 parent 39ad0dd3

Merged in from STABLE trunk...

KTS-3729
"Document comparison 'with Current version' is not working."
Fixed. Set the base version as the current document content version.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.3a-Release-Branch@9380 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/document/metadata_history.smarty
@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
43 {if ($document->getMimeTypeID() != $oVersion->getMimeTypeID())} 43 {if ($document->getMimeTypeID() != $oVersion->getMimeTypeID())}
44 <span class='descriptiveText'>{i18n}mime types do not match{/i18n}</span> 44 <span class='descriptiveText'>{i18n}mime types do not match{/i18n}</span>
45 {else} 45 {else}
46 - <a style="cursor:hand;" onclick='window.open("{$sUrl}&action=downloadComparison&fDocumentId={$document->getId()}&fBaseVersion={$oVersion->getMetadataVersionId()}&fComparisonVersion={$oVersion->getCurrentMetadataVersionId()}", "Document_Diffs");'>{i18n}Content{/i18n}</a> 46 + <a style="cursor:hand;" onclick='window.open("{$sUrl}&action=downloadComparison&fDocumentId={$document->getId()}&fBaseVersion={$document->getCurrentMetadataVersionId()}&fComparisonVersion={$oVersion->getCurrentMetadataVersionId()}", "Document_Diffs");'>{i18n}Content{/i18n}</a>
47 {/if} 47 {/if}
48 {/if} 48 {/if}
49 {else} 49 {else}