File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
packages/firestore/src/local Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ export class IndexedDbIndexManager implements IndexManager {
996
996
! offset ||
997
997
indexOffsetComparator ( index . indexState . offset , offset ) < 0
998
998
) {
999
- offset = IndexOffset . min ( ) ;
999
+ offset = index . indexState . offset ;
1000
1000
}
1001
1001
} ) ;
1002
1002
}
Original file line number Diff line number Diff line change @@ -195,9 +195,11 @@ export class QueryEngine {
195
195
offset . readTime
196
196
)
197
197
) {
198
- // A limit query whose boundaries change due to local edits can be re-run against the cache
199
- // by excluding the limit. This ensures that all documents that match the query's filters are
200
- // included in the result set. The SDK can then apply the limit once all local edits are
198
+ // A limit query whose boundaries change due to local
199
+ // edits can be re-run against the cache by excluding the
200
+ // limit. This ensures that all documents that match the
201
+ // query's filters are included in the result set. The SDK
202
+ // can then apply the limit once all local edits are
201
203
// incorporated.
202
204
return this . performQueryUsingIndex (
203
205
transaction ,
You can’t perform that action at this time.
0 commit comments