这是indexloc提供的服务,不要输入任何密码
Skip to content

Incorrect sorting behavior, first record always positioned at the end v8.0.2. #4071

@heliomarpm

Description

@heliomarpm

Hello, after upgrading from v7.24.0 to v8.0.2, all the compositions are showing incorrect behavior, the first record is always being returned in the last position.

this.fireStore.doc(Users/${this.userId}) .collection<Card>('Cards', ref => ref.where('active', '==', true) .orderBy('order') .orderBy('createdAt', 'desc'));

Example:
{order: 1, condition2: 'AA' ...}
{order: 2, condition2: 'BB' ...}
{order: 3, condition2: 'AB' ...}
{order: 4, condition2: 'DD' ...}
{order: 3, condition2: 'AB' ...}

Return:
{order: 2, condition2: 'BB' ...}
{order: 3, condition2: 'AB' ...}
{order: 3, condition2: 'AB' ...}
{order: 4, condition2: 'DD' ...}
{order: 1, condition2: 'AA' ...}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions