diff --git a/src/DataAccess/src/SIL.DataAccess/MongoRepository.cs b/src/DataAccess/src/SIL.DataAccess/MongoRepository.cs index be2fbfaf..d5b09a1b 100644 --- a/src/DataAccess/src/SIL.DataAccess/MongoRepository.cs +++ b/src/DataAccess/src/SIL.DataAccess/MongoRepository.cs @@ -128,6 +128,8 @@ await _collection IsUpsert = upsert, ReturnDocument = returnOriginal ? ReturnDocument.Before : ReturnDocument.After }; + if (arrayFilters.Count > 0) + options.ArrayFilters = arrayFilters; T? entity; try {