Skip to content
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

Bestenliste queries empfangen ein Element zu wenig #10

Open
LeonardNolting opened this issue Aug 27, 2021 · 0 comments
Open

Bestenliste queries empfangen ein Element zu wenig #10

LeonardNolting opened this issue Aug 27, 2021 · 0 comments

Comments

@LeonardNolting
Copy link
Owner

Relevante Stelle:

query(ref(Datenbank.datenbank, "spezifisch/fahrer"), limitToLast(anzahl), endAt(sortiert[sortiert.length - 1][1].strecke || 0), orderByChild("strecke")) :

Hinzufügen des optionalen key-Arguments zu endAt mit dem letzten möglichen Key führt dazu, dass manchmal korrekt 10 weitere Elemente geladen werden, manchmal 8, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant