Skip to content

Commit

Permalink
Merge pull request #6 from maxkarnold/dev
Browse files Browse the repository at this point in the history
changed leaderboards sortBy
  • Loading branch information
maxkarnold authored Oct 27, 2021
2 parents ff52c64 + 90bc40c commit 4d4fe6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/firestore.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ export class FirestoreService {
}

getSubmittedRosters(): Observable<DocumentChangeAction<SubmittedRoster>[]> {
let rostersCollection = this.afs.collection("submittedRosters", ref => ref.orderBy('squadRating', 'desc'));
let rostersCollection = this.afs.collection("submittedRosters", ref => ref.orderBy('startersRating', 'desc'));
return rostersCollection.snapshotChanges() as Observable<DocumentChangeAction<SubmittedRoster>[]>;
}

Expand Down

0 comments on commit 4d4fe6f

Please sign in to comment.