Browse Source

Merge pull request #22085 from nextcloud/enh/index-socialprofile

adding social profile to search index
Roeland Jago Douma 3 years ago
parent
commit
72fda10333
1 changed files with 2 additions and 1 deletions
  1. 2 1
      apps/dav/lib/CardDAV/CardDavBackend.php

+ 2 - 1
apps/dav/lib/CardDAV/CardDavBackend.php

@@ -82,7 +82,8 @@ class CardDavBackend implements BackendInterface, SyncSupport {
 	/** @var array properties to index */
 	public static $indexProperties = [
 		'BDAY', 'UID', 'N', 'FN', 'TITLE', 'ROLE', 'NOTE', 'NICKNAME',
-		'ORG', 'CATEGORIES', 'EMAIL', 'TEL', 'IMPP', 'ADR', 'URL', 'GEO', 'CLOUD'];
+		'ORG', 'CATEGORIES', 'EMAIL', 'TEL', 'IMPP', 'ADR', 'URL', 'GEO',
+		'CLOUD', 'X-SOCIALPROFILE'];
 
 	/**
 	 * @var string[] Map of uid => display name