Commit 5c68f29161bc62f97b6b34c91c28355e04b310dd

Authored by Conrad Vermeulen
1 parent a717e284

KTS-2714

"Search results via web service return an error because of incorrect reference to workflow and state variables"
Fixed.

Comitted By: Conrad Vermeulen
Reviewed By: Isaac Lundal

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7707 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 2 deletions
search2/search/search.inc.php
... ... @@ -564,8 +564,8 @@ function processSearchExpression($query)
564 564 'checked_out_by' => (string) $hit->CheckedOutUser,
565 565 'checked_out_date' => (string) $hit->DateCheckedOut,
566 566 'is_available' => (bool) $hit->IsAvailable,
567   - 'workflow' => (string) $hit->Workflow,
568   - 'workflow_state' => (string) $hit->WorkflowState,
  567 + 'workflow' => (string) $hit->WorkflowOnly,
  568 + 'workflow_state' => (string) $hit->WorkflowStateOnly,
569 569 'folder_id' => (int) $hit->FolderId,
570 570 'mime_type' => (string) $hit->MimeType,
571 571 'modified_by' => (string) $hit->ModifiedBy,
... ...