Make displayname selectable

It is dav. so if it is not properly set we just return a 404 anyway.
pull/8948/head
Roeland Jago Douma 8 years ago
parent 6eb2088dd9
commit c306bc29d1
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 2
      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),

Loading…
Cancel
Save