Skip to content

Commit

Permalink
Added missing filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Oct 23, 2015
1 parent cbcce39 commit 2ab66ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventCloud.Application/Statistics/StatisticsAppService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public StatisticsAppService(

public async Task<ListResultOutput<NameValueDto>> GetStatistics()
{
//Disabled MayHaveTenant filter to access to all tenant's data, not for only current tenant.
using (CurrentUnitOfWork.DisableFilter(AbpDataFilters.MayHaveTenant))
//Disabled filters to access to all tenant's data, not for only current tenant.
using (CurrentUnitOfWork.DisableFilter(AbpDataFilters.MayHaveTenant, AbpDataFilters.MustHaveTenant))
{
var statisticItems = new List<NameValueDto>
{
Expand Down

0 comments on commit 2ab66ea

Please sign in to comment.