Fix hibernate exception when entering into order resourcesload due to company filter parameters
FEA: ItEr77S15FilteringEnhancements
This commit is contained in:
parent
35e1644cee
commit
177a9b40b8
1 changed files with 3 additions and 0 deletions
|
|
@ -312,6 +312,8 @@ public class ResourceLoadController implements Composer {
|
|||
filterBy);
|
||||
result.add(filterTypeChanger);
|
||||
|
||||
// Only by dates and bandbox filter on global resources load
|
||||
if (filterBy == null) {
|
||||
LocalDate startDate = FilterUtils.readResourceLoadsStartDate();
|
||||
LocalDate endDate = FilterUtils.readResourceLoadsEndDate();
|
||||
|
||||
|
|
@ -355,6 +357,7 @@ public class ResourceLoadController implements Composer {
|
|||
result.add(bandbox);
|
||||
result.add(new ByNamePaginator(onChange, filterBy, filterTypeChanger,
|
||||
bandbox));
|
||||
}
|
||||
result.add(new LoadChart(onChange, filterBy));
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue