diff --git a/lib/philomena_web/controllers/staff_controller.ex b/lib/philomena_web/controllers/staff_controller.ex index 00ec61bc..69b5d0df 100644 --- a/lib/philomena_web/controllers/staff_controller.ex +++ b/lib/philomena_web/controllers/staff_controller.ex @@ -14,7 +14,8 @@ defmodule PhilomenaWeb.StaffController do categories = [ "Administrators": Enum.filter(users, & &1.role == "admin"), - "Technical Team": Enum.filter(users, & &1.role != "admin" and &1.secondary_role not in [nil, ""]), + "Technical Team": Enum.filter(users, & &1.role != "admin" and &1.secondary_role in ["Site Developer", "System Administrator"]), + "Public Relations": Enum.filter(users, & &1.role != "admin" and &1.secondary_role == "Public Relations"), "Moderators": Enum.filter(users, & &1.role == "moderator" and &1.secondary_role in [nil, ""]), "Assistants": Enum.filter(users, & &1.role == "assistant" and &1.secondary_role in [nil, ""]) ]