Use sgSearch directive in addressbook module

This commit is contained in:
Francis Lachapelle
2015-06-12 11:22:44 -04:00
parent 44164c0f43
commit 01d4134a23
3 changed files with 14 additions and 43 deletions
@@ -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);