Make sure it's approved too

This commit is contained in:
tidusjar 2019-07-17 23:01:18 +01:00
parent 572746351b
commit 7ef7e0b9b6
2 changed files with 4 additions and 4 deletions

View file

@ -255,13 +255,13 @@ namespace Ombi.Core.Engine
{
allRequests =
MovieRepository.GetWithUser(shouldHide
.UserId).Where(x => !x.Available);
.UserId).Where(x => !x.Available && x.Approved);
}
else
{
allRequests =
MovieRepository
.GetWithUser().Where(x => !x.Available);
.GetWithUser().Where(x => !x.Available && x.Approved);
}
var prop = TypeDescriptor.GetProperties(typeof(MovieRequests)).Find(sortProperty, true);