mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Make sure it's approved too
This commit is contained in:
parent
572746351b
commit
7ef7e0b9b6
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue