Skip to content

[bug] Host SortBy LastSeenAt returns 0 results #911

@cmp5987

Description

@cmp5987

Describe the bug
In reference to changes to add pagination to Host data.

When you fetch next page of data for host. if orderBy is provided LAST_SEEN_AT for the sort type and data does not have lastSeenAt (It is an optional field). Then edges return an empty array. The first call to page 1 will provide host data, using the startCursor or beforeCursor the edges returned will be empty.

This is reproduced on local with test data. Local test data has lastSeenAt = null.

While this is a part of an open PR, we won't be blocking the changes and we will need to fix this to add sorting support.

Image Image Image Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions