When is a generic type all resources shown are returned

Previously it was only doing this for AllocationType.GENERIC_WORKERS

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
This commit is contained in:
Óscar González Fernández 2010-09-20 21:17:35 +02:00
parent 772f2d103f
commit ddfedbd6ba

View file

@ -248,7 +248,7 @@ public class NewAllocationSelectorController extends
}
public List<Resource> getSelectedWorkers() {
if (currentAllocationType == AllocationType.GENERIC_WORKERS) {
if (isGenericType()) {
return allResourcesShown();
} else {
return getSelectedResourcesOnListbox();