Skip to content

Commit 91ddf80

Browse files
authored
Merge pull request #189 from Nfactor26/fix-get-test-data-source-filter-condition
Fix filter condition for get test data source
2 parents 8fb6d81 + 494b90b commit 91ddf80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pixel.Persistence.Respository/TestDataRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public async Task<IEnumerable<TestDataSource>> GetDataSourcesAsync(string projec
5757
{
5858
var filter = Builders<TestDataSource>.Filter.And(Builders<TestDataSource>.Filter.Eq(x => x.ProjectId, projectId),
5959
Builders<TestDataSource>.Filter.Eq(x => x.ProjectVersion, projectVersion)) &
60-
Builders<TestDataSource>.Filter.Eq(x => x.LastUpdated, laterThan);
60+
Builders<TestDataSource>.Filter.Gt(x => x.LastUpdated, laterThan);
6161
var dataSources = await testDataCollection.FindAsync(filter, FindOptions, cancellationToken);
6262
return await dataSources.ToListAsync();
6363
}

0 commit comments

Comments
 (0)