Commit a3b9c48a by Nilu

Hiring team selections - filter out only the hiring teams that the user is associated to

parent a15948df
......@@ -132,7 +132,7 @@
{
%>
<div class="header-select">
<tagfile:ormsingleasso_select obj="<%= companyUser %>" assocName="SelectedTeam" options="<%= company.getHiringTeamsSet().toArray(new HiringTeam[0]) %>"
<tagfile:ormsingleasso_select obj="<%= companyUser %>" assocName="SelectedTeam" options="<%= Utils.getHiringTeamsByUser(companyUser) %>"
cssClass="selected-team"/>
</div>
<%
......
......@@ -34,6 +34,7 @@
</script>
<oneit:form name="editUser" method="post" enctype="multipart/form-data">
<div class="container-fluid">
<div class="row content">
......@@ -102,7 +103,7 @@
<div class="form-group">
<label><oneit:label GUIName="Default Hiring Team"/></label>
<div class="wider-select">
<tagfile:ormsingleasso_select obj="<%= companyUser %>" assocName="DefaultHiringTeam" options="<%= companyUser.getCompany().getHiringTeamsSet().toArray(new HiringTeam[0]) %>"/>
<tagfile:ormsingleasso_select obj="<%= companyUser %>" assocName="DefaultHiringTeam" options="<%= Utils.getHiringTeamsByUser(companyUser) %>"/>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment