Add people.get_all_persons().

This commit is contained in:
Steve Howell
2016-11-01 11:36:50 -07:00
committed by Tim Abbott
parent a9e851b646
commit aa07b32d58
2 changed files with 8 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ exports.realm_get = function realm_get(email) {
return realm_people_dict.get(email);
};
exports.get_all_persons = function () {
return people_dict.values();
};
exports.filter_people_by_search_terms = function (users, search_terms) {
var filtered_users = {};