supervisor is now removed when unmathing a project idea through admin interface
This commit is contained in:
parent
167761d8e2
commit
0fb46d158c
@ -56,7 +56,9 @@ public class MatchDaoJPAImp extends AbstractDaoJPAImp<Match> implements
|
||||
@Override
|
||||
public Match changeStatus(User changer, Match match, Match.Status status) {
|
||||
Match newMatch = new Match();
|
||||
newMatch.setSupervisor(match.getSupervisor());
|
||||
if (status != Match.Status.UNMATCHED){
|
||||
newMatch.setSupervisor(match.getSupervisor());
|
||||
}
|
||||
newMatch.setType(match.getType());
|
||||
if (status != null) {
|
||||
newMatch.setStatus(status);
|
||||
|
Loading…
x
Reference in New Issue
Block a user