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 @@ ...@@ -132,7 +132,7 @@
{ {
%> %>
<div class="header-select"> <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"/> cssClass="selected-team"/>
</div> </div>
<% <%
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
}); });
</script> </script>
<oneit:form name="editUser" method="post" enctype="multipart/form-data"> <oneit:form name="editUser" method="post" enctype="multipart/form-data">
<div class="container-fluid"> <div class="container-fluid">
...@@ -102,7 +103,7 @@ ...@@ -102,7 +103,7 @@
<div class="form-group"> <div class="form-group">
<label><oneit:label GUIName="Default Hiring Team"/></label> <label><oneit:label GUIName="Default Hiring Team"/></label>
<div class="wider-select"> <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>
</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