Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Sorting by search param date doesn't work on DocumentReferences #115

Open
Jasopaum opened this issue Jul 13, 2021 · 0 comments
Open

Sorting by search param date doesn't work on DocumentReferences #115

Jasopaum opened this issue Jul 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Jasopaum
Copy link

Description

A query where sorting is done by date on DocumentReference returns an empty bundle even if some DocumentReferences should be returned. Maybe it's in part due to the fact that the fields corresponding to the date param are empty?

Because of this, we can't dort documents by date in cohortInfo.tsx.

Reproduction

  1. Try this query /DocumentReference?_sort=-date

Resolution

  1. Try to see if this comes from hapi or not
  2. ...
@Jasopaum Jasopaum added the bug Something isn't working label Jul 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant