diff --git a/app/languages/en.json b/app/languages/en.json index b8b2c64..f34301e 100644 --- a/app/languages/en.json +++ b/app/languages/en.json @@ -37,6 +37,7 @@ "first": "First", "first_name": "First Name", "generated_on": "Generated on", + "group_name": "Group Name", "has_photo": "Has Photo", "information": "Information", "language": "Language", diff --git a/app/scripts/controllers/people.js b/app/scripts/controllers/people.js index 01a7c54..b8a415f 100644 --- a/app/scripts/controllers/people.js +++ b/app/scripts/controllers/people.js @@ -19,6 +19,7 @@ angular.module('accreditationApp') $scope.filter.position = ''; $scope.filter.member = undefined; $scope.filter.skill = undefined; + $scope.filter.group = ''; $scope.filter.printed = undefined; $scope.filter.photo = undefined; $scope.filter.sort = ''; @@ -59,6 +60,9 @@ angular.module('accreditationApp') if ($scope.filter.skill) { query['skill'] = $scope.filter.skill; } + if ($scope.filter.group) { + query['group'] = $scope.filter.group; + } if ($scope.filter.printed !== undefined) { query['printed'] = $scope.filter.printed; } diff --git a/app/views/people.html b/app/views/people.html index 34cdd03..c5c1c9c 100755 --- a/app/views/people.html +++ b/app/views/people.html @@ -85,6 +85,10 @@

filter

+
+ + +