From 0f5aaa3ed92661b471df8e5b2cca1d9052e86808 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 30 Jul 2019 11:47:58 -0600 Subject: [PATCH] Addressbook - implement owner link registry so we can count how many contacts a user has --- addressbook/inc/class.addressbook_hooks.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addressbook/inc/class.addressbook_hooks.inc.php b/addressbook/inc/class.addressbook_hooks.inc.php index bc2656434b..87fb9374f6 100644 --- a/addressbook/inc/class.addressbook_hooks.inc.php +++ b/addressbook/inc/class.addressbook_hooks.inc.php @@ -390,6 +390,10 @@ class addressbook_hooks 'key' => 'contact_id', 'column' => 'egw_addressbook.contact_modified', 'type' => 'int' + ), + 'owner' => array( + 'key' => 'egw_addressbook.contact_id', + 'column' => 'egw_addressbook.contact_owner' ) ); return $links;