Browse Source

Ignore total in queries.

pull/719/head
Sebastian 5 years ago
parent
commit
94c6e154ab
  1. 7
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Assets/MongoDb/AssetsQueryIntegrationTests.cs

7
backend/tests/Squidex.Domain.Apps.Entities.Tests/Assets/MongoDb/AssetsQueryIntegrationTests.cs

@ -153,7 +153,12 @@ namespace Squidex.Domain.Apps.Entities.Assets.MongoDb
}; };
} }
var assets = await _.AssetRepository.QueryAsync(_.RandomAppId(), parentId, Q.Empty.WithQuery(clrQuery)); var q =
Q.Empty
.WithoutTotal()
.WithQuery(clrQuery);
var assets = await _.AssetRepository.QueryAsync(_.RandomAppId(), parentId, q);
return assets; return assets;
} }

Loading…
Cancel
Save