Browse Source
Update modules/cms-kit/src/Volo.CmsKit.MongoDB/Volo/CmsKit/MongoDB/Tags/MongoTagRepository.cs
Co-authored-by: Enis Necipoglu <iletisim@enisnecipoglu.com>
pull/6822/head
Galip Tolga Erdem
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
modules/cms-kit/src/Volo.CmsKit.MongoDB/Volo/CmsKit/MongoDB/Tags/MongoTagRepository.cs
|
|
@ -64,7 +64,7 @@ namespace Volo.CmsKit.MongoDB.Tags |
|
|
CancellationToken cancellationToken = default) |
|
|
CancellationToken cancellationToken = default) |
|
|
{ |
|
|
{ |
|
|
var entityTagIds = await DbContext.EntityTags.AsQueryable() |
|
|
var entityTagIds = await DbContext.EntityTags.AsQueryable() |
|
|
.Where(q => q.EntityId == entityId) |
|
|
.Where(q => q.EntityId == entityId && q.TenantId == tenantId) |
|
|
.Select(q => q.EntityId) |
|
|
.Select(q => q.EntityId) |
|
|
.ToListAsync(cancellationToken: GetCancellationToken(cancellationToken)); |
|
|
.ToListAsync(cancellationToken: GetCancellationToken(cancellationToken)); |
|
|
|
|
|
|
|
|
|