mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 23:37:15 +00:00
1 parent
429aa1a91d
commit
af136eec6c
2 files changed
+4
-2
No files matched your search
@@ -122,7 +122,9 @@
|
||||
// Add new cards matching the search query
|
||||
_.forEach(results, function(data, index) {
|
||||
if (_.isUndefined(_.find(AddressBook.$cards, _.bind(compareIds, data)))) {
|
||||
var card = new AddressBook.$Card(data, search);
|
||||
var card = new AddressBook.$Card(_.mapKeys(data, function(value, key) {
|
||||
return key.toLowerCase();
|
||||
}), search);
|
||||
AddressBook.$cards.splice(index, 0, card);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user