CB Bugfix: UpdateVM für zwei Spezialfälle im SchedulerView hinzugefügt.
This commit is contained in:
@@ -727,6 +727,7 @@ namespace BeWo.Scheduler.View
|
||||
if (CheckBoxConverter != null && SelectedResources != null)
|
||||
{
|
||||
CheckBoxConverter.SelektierteRessourcen = SelectedResources;
|
||||
UpdateVM(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -785,6 +786,7 @@ namespace BeWo.Scheduler.View
|
||||
if (employee != null && employee.Equals(BeWoApp.CompactLoggedOnEmployee))
|
||||
{
|
||||
ZeigeNurMeineTermine = false;
|
||||
UpdateVM(true);
|
||||
}
|
||||
else if (SelectedEmployees.Count == 1 && SelectedEmployees.First().Equals(BeWoApp.CompactLoggedOnEmployee))
|
||||
{
|
||||
|
||||
@@ -2342,7 +2342,8 @@ namespace BeWo.Data.Access
|
||||
|
||||
var detachedCriteria2 = DetachedCriteria.For<Employee2SchedulerAppointment>()
|
||||
.SetProjection(
|
||||
Projections.Property(Employee2SchedulerAppointment.PropertyName_SchedulerAppointment));
|
||||
Projections.Property(Employee2SchedulerAppointment.PropertyName_SchedulerAppointment))
|
||||
.Add(Restrictions.IsNotNull(Employee2SchedulerAppointment.PropertyName_SchedulerAppointment));
|
||||
|
||||
ownAppointmentCriterion = Restrictions.Or(
|
||||
Restrictions.And(Restrictions.Eq(SchedulerAppointment.PropertyName_Originator + ".Oid", pEmployeeOid), Subqueries.PropertyNotIn(BeWoEntityBase.PropertyName_Oid, detachedCriteria2)),
|
||||
|
||||
Reference in New Issue
Block a user