Changeset 5535 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
- Timestamp:
- 02/22/11 13:54:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
r5526 r5535 388 388 var jobs = new List<Job>(dao.GetJobs(x => parentJobId == null ? !x.ParentJobId.HasValue : x.ParentJobId.Value == parentJobId)); 389 389 390 if (includeParent) {391 jobs.Add(GetJob(parentJobId.Value));392 }393 394 390 if (recursive) { 395 391 var childs = new List<Job>(); … … 399 395 jobs.AddRange(childs); 400 396 } 397 398 if (includeParent) jobs.Add(GetJob(parentJobId.Value)); 399 401 400 return jobs; 402 401 }
Note: See TracChangeset
for help on using the changeset viewer.