Use sgSearch directive in addressbook module

This commit is contained in:
Francis Lachapelle committed 2015-06-12 11:22:44 -04:00
1 parent 44164c0f43
commit 01d4134a23
3 files changed
+14 -43

No files matched your search

@@ -175,9 +175,8 @@
sort: 'c_cn',
asc: 'true'
};
if (options && options.excludeLists) {
params.excludeLists = true;
}
if (options)
angular.extend(params, options);
return this.$id().then(function(addressbookId) {
var futureAddressBookData = AddressBook.$$resource.fetch(addressbookId, 'view', params);