Commit 86977cd5c8a22396c765e834c3b9653a713a05e6
1 parent
b2017d1d
KTS-2713
"Filename is cast to integer in search results" Fixed. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7705 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
search2/indexing/indexerCore.inc.php
| @@ -182,7 +182,7 @@ class QueryResultItem | @@ -182,7 +182,7 @@ class QueryResultItem | ||
| 182 | case 'IsLive': return (bool) $this->live; | 182 | case 'IsLive': return (bool) $this->live; |
| 183 | case 'Filesize': return $this->filesize; | 183 | case 'Filesize': return $this->filesize; |
| 184 | case 'Version': return (string) $this->version; | 184 | case 'Version': return (string) $this->version; |
| 185 | - case 'Filename': return (int)$this->filename; | 185 | + case 'Filename': return (string)$this->filename; |
| 186 | case 'FolderId': return (int)$this->folderId; | 186 | case 'FolderId': return (int)$this->folderId; |
| 187 | case 'Document': | 187 | case 'Document': |
| 188 | if (is_null($this->document)) | 188 | if (is_null($this->document)) |