Commit 5d8ce2cbfa2a86a48955aa767883163282e9d953

Authored by Kevin Fourie
1 parent 5f2600c3

KTS-1598

"Archived Dcouments : Pagination links are broken"
Fixed. Added fFolderId that was missing in URL. As per patch from Nicolas Quienot.

Reviewed by: Conrad



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6161 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
plugins/ktcore/KTWidgets.php
... ... @@ -697,7 +697,7 @@ class KTCoreCollectionPage extends KTStandardDispatcher {
697 697 $oCollection->_queryObj->folder_id = $oFolder->getId();
698 698  
699 699 $aOptions = $oCollection->getEnvironOptions();
700   - $aOptions['return_url'] = KTUtil::addQueryString($_SERVER['PHP_SELF'], array('code'=>$sCode, 'varname' => $sName));
  700 + $aOptions['return_url'] = KTUtil::addQueryString($_SERVER['PHP_SELF'], array('code'=>$sCode, 'varname' => $sName, 'fFolderId' => $oFolder->getId()));
701 701  
702 702 $oCollection->setOptions($aOptions);
703 703  
... ...