Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,6 +6,7 @@
using Application.Common.Models.Dtos.Physical;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Domain.Statuses;
using FluentValidation;
using MediatR;
using Microsoft.EntityFrameworkCore;
Expand DownExpand Up@@ -63,7 +64,9 @@ public async Task<PaginatedList<DocumentDto>> Handle(Query request,
.Include(x => x.Folder)
.ThenInclude(y => y.Locker)
.ThenInclude(z => z.Room)
.ThenInclude(t => t.Department);
.ThenInclude(t => t.Department)
.Where(x => !x.IsPrivate && x.Status != DocumentStatus.Issued);


if (folderExists)
{
Expand Down