-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onSnapshot orderBy doesn't work #2113
Comments
I have tried the code snippet from above, and it produces the docs sorted by createdAt: io {seconds: 1566851621, nanoseconds: 195000000}
createdAt: io {seconds: 1566851621, nanoseconds: 13000000}
createdAt: io {seconds: 1566851620, nanoseconds: 791000000} |
Environment
Problem
The
orderBy
query, when paired withonSnapshot
, does not seem to work after updating to6.4.2
from^5.3.1
. In the web console, this sameorderBy
query displays the docs in the correct order.Steps to reproduce:
Create a collection named
collection
and create an index oncreatedAt
, to beascending
, where createdAt is afirebase.firestore.FieldValue.serverTimestamp()
Relevant Code:
The text was updated successfully, but these errors were encountered: