Merge pull request #9149 from nextcloud/swift-updates

[swift] Fix searchdav
This commit is contained in:
Morris Jobke 2018-04-11 15:54:22 +02:00 committed by GitHub
commit 04eed20a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 2b17a6011692a84927954702b1544146a1ca6e20 Subproject commit 49a3f672142d047a901329a6e1ea2ad582b7d681

View File

@ -113,7 +113,7 @@ class FileSearchBackend implements ISearchBackend {
//todo dynamically load all propfind properties that are supported //todo dynamically load all propfind properties that are supported
return [ return [
// queryable properties // queryable properties
new SearchPropertyDefinition('{DAV:}displayname', true, false, true), new SearchPropertyDefinition('{DAV:}displayname', true, true, true),
new SearchPropertyDefinition('{DAV:}getcontenttype', true, true, true), new SearchPropertyDefinition('{DAV:}getcontenttype', true, true, true),
new SearchPropertyDefinition('{DAV:}getlastmodified', true, true, true, SearchPropertyDefinition::DATATYPE_DATETIME), new SearchPropertyDefinition('{DAV:}getlastmodified', true, true, true, SearchPropertyDefinition::DATATYPE_DATETIME),
new SearchPropertyDefinition(FilesPlugin::SIZE_PROPERTYNAME, true, true, true, SearchPropertyDefinition::DATATYPE_NONNEGATIVE_INTEGER), new SearchPropertyDefinition(FilesPlugin::SIZE_PROPERTYNAME, true, true, true, SearchPropertyDefinition::DATATYPE_NONNEGATIVE_INTEGER),