summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-22 20:06:21 +0100
committerGitHub <noreply@github.com>2018-03-22 20:06:21 +0100
commit750bb4d7e1193b343ddbb0b69626bb0a72260c50 (patch)
tree9f2fcb255eef342ab805cd0b39f0712b1f900ff8 /apps
parent874f134f3a0b490323833f10d9153939e3ccf193 (diff)
parentc306bc29d1960921d71a669530839ff5d79f2408 (diff)
downloadnextcloud-server-750bb4d7e1193b343ddbb0b69626bb0a72260c50.tar.gz
nextcloud-server-750bb4d7e1193b343ddbb0b69626bb0a72260c50.zip
Merge pull request #8948 from nextcloud/search-dav-selectable_displayname
Make displayname selectable
Diffstat (limited to 'apps')
-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),