Enums TextModules in Textbausteine umbenannt

This commit is contained in:
Christian
2017-10-13 11:10:37 +02:00
parent f959650100
commit ce1f1a57d5
15 changed files with 38 additions and 36 deletions

View File

@@ -45,7 +45,7 @@ namespace BeWo.View.Search
{
r = r.OrderBy(tb => tb.ServiceCategory == null).ThenBy(tb => tb.Position).ThenBy(tb => tb.Name).ToList();
r = !BeWoApp.LoggedOnUser.HasRight(UserRightType.TextModulesAlleAnsehen) ?
r = !BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineAlleAnsehen) ?
r.Where(w => w.Employee.EmployeeOid.Equals(BeWoApp.LoggedOnEmployee.EmployeeOid)).ToList() :
r.Where(w => !(w.IsOnlyForEmployee && !w.Employee.EmployeeOid.Equals(BeWoApp.LoggedOnEmployee.EmployeeOid))).ToList();