I'd like to retrieve all orders paid between two dates:
var snapshot = await db
.collection('order')
.orderBy('fullyPaidAt')
.where('fullyPaidAt',
isGreaterThan: Timestamp.fromDate(period.startsAt))
.where('fullyPaidAt', isLessThan: Timestamp.fromDate(period.endsAt))
.limit(10)
.get();
However, I am getting results only if I use one of the where clauses. But I receive no results if I combine the 2 clauses. Is it one limitation of Firebase Firestore?
I am storing the dates in the order collection as timestamps.
See the screenshot below

period.startsAt and period.endsAt are Dart Datetime