aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Files
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-22 16:46:21 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-22 16:46:21 +0100
commitc306bc29d1960921d71a669530839ff5d79f2408 (patch)
treed493e71714d7fa9c76b51044dddab29340a4c761 /apps/dav/lib/Files
parent6eb2088dd9c473b0d7c5b2a09a13d8ed8198b986 (diff)
downloadnextcloud-server-c306bc29d1960921d71a669530839ff5d79f2408.tar.gz
nextcloud-server-c306bc29d1960921d71a669530839ff5d79f2408.zip
Make displayname selectable
It is dav. so if it is not properly set we just return a 404 anyway.
Diffstat (limited to 'apps/dav/lib/Files')
-rw-r--r--apps/dav/lib/Files/FileSearchBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Files/FileSearchBackend.php b/apps/dav/lib/Files/FileSearchBackend.php
index 275d3dc8a42..5b3c18c9720 100644
--- a/apps/dav/lib/Files/FileSearchBackend.php
+++ b/apps/dav/lib/Files/FileSearchBackend.php
@@ -113,7 +113,7 @@ class FileSearchBackend implements ISearchBackend {
//todo dynamically load all propfind properties that are supported
return [
// 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:}getlastmodified', true, true, true, SearchPropertyDefinition::DATATYPE_DATETIME),
new SearchPropertyDefinition(FilesPlugin::SIZE_PROPERTYNAME, true, true, true, SearchPropertyDefinition::DATATYPE_NONNEGATIVE_INTEGER),