Commit 0eb153fa8432504473a898d8bdf3ff6d6b1836f7

Authored by Neil Blakey-Milner
1 parent 890104c1

KTS-649: browse expects fFolderId, not fFolderID


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5118 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/subscriptions/Subscription.inc
... ... @@ -160,9 +160,9 @@ class Subscription extends KTEntity {
160 160 function getContentLink() {
161 161 // TODO: add subscription icon
162 162 if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) {
163   - return generateControllerLink("viewDocument", "fDocumentID=$this->iExternalID", Document::getDocumentDisplayPath($this->iExternalID));
  163 + return generateControllerLink("viewDocument", "fDocumentId=$this->iExternalID", Document::getDocumentDisplayPath($this->iExternalID));
164 164 } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) {
165   - return generateControllerLink("browse", "fBrowseType=folder&fFolderID=$this->iExternalID", Folder::getFolderDisplayPath($this->iExternalID));
  165 + return generateControllerLink("browse", "fBrowseType=folder&fFolderId=$this->iExternalID", Folder::getFolderDisplayPath($this->iExternalID));
166 166 }
167 167 }
168 168  
... ... @@ -171,9 +171,9 @@ class Subscription extends KTEntity {
171 171 */
172 172 function getContentUrl() {
173 173 if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) {
174   - return generateControllerUrl("viewDocument", "fDocumentID=$this->iExternalID");
  174 + return generateControllerUrl("viewDocument", "fDocumentId=$this->iExternalID");
175 175 } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) {
176   - return generateControllerUrl("browse", "fBrowseType=folder&fFolderID=$this->iExternalID");
  176 + return generateControllerUrl("browse", "fBrowseType=folder&fFolderId=$this->iExternalID");
177 177 }
178 178 }
179 179  
... ...