Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lenoch committed Apr 15, 2020
2 parents 58f6130 + 318b13b commit b59c61a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths.
# See https://help.github.com/articles/about-code-owners/

* @JanLenoch
4 changes: 2 additions & 2 deletions Business/Repository/Doctor/DoctorRepository.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using Business.Dto.Doctors;
Expand All @@ -18,7 +18,7 @@ public class DoctorRepository : BaseRepository, IDoctorRepository
"LastName", "Photo", "Specialty"
};

private Func<CMS.DocumentEngine.Types.MedioClinic.Doctor, DoctorDto> DoctorDtoSelect => doctor => new DoctorDto()
private DoctorDto DoctorDtoSelect(CMS.DocumentEngine.Types.MedioClinic.Doctor doctor) => new DoctorDto()
{
NodeAlias = doctor.NodeAlias,
NodeGuid = doctor.NodeGUID,
Expand Down
2 changes: 1 addition & 1 deletion Business/Services/Query/DocumentQueryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public DocumentQueryService(ISiteContextService siteContext)
{
query = query
.Columns(_coreColumns.Concat(new []{ "NodeSiteId" })) // Sets initial columns returned for optimization.
//Adds 'NoteSiteD' column required for the Preview mode.
//Adds 'NodeSiteId' column required for the Preview mode.
.OnSite(SiteContext.SiteName) // There could be more sites with matching documents
.LatestVersion()
.Published(false)
Expand Down

0 comments on commit b59c61a

Please sign in to comment.