1
0
espelhamento de https://github.com/nextcloud/server.git sincronizado 2024-07-26 06:14:59 +02:00

Add key to every contact

Esse commit está contido em:
LEDfan 2014-04-18 14:30:44 +02:00
commit b78c1373b6

Ver arquivo

@ -37,7 +37,12 @@ namespace OC {
$result = array();
foreach($this->address_books as $address_book) {
$r = $address_book->search($pattern, $searchProperties, $options);
$result = array_merge($result, $r);
$contacts = array();
foreach($r as $c){
$c['key'] = $address_book->getKey();
$contacts[] = $c;
}
$result = array_merge($result, $contacts);
}
return $result;