Invite & Library Edit - Missing SideNav Code (#2322)
This commit is contained in:
parent
7c8fdd9ea8
commit
a3afa04be4
9 changed files with 139 additions and 66 deletions
|
@ -929,6 +929,12 @@ public class SeriesRepository : ISeriesRepository
|
|||
query ??= _context.Series
|
||||
.AsNoTracking();
|
||||
|
||||
// When the user has no access, just return instantly
|
||||
if (userLibraries.Count == 0)
|
||||
{
|
||||
return query.Where(s => false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// First setup any FilterField.Libraries in the statements, as these don't have any traditional query statements applied here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue