You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be able to add sorting for Facility -> Users table as designed here
backend needs to be able to return sorted data.
Backend sorting is expected to work for:
Full name
User name
Identifier
Gender
Birth year
Date created
Note that sorting in this case can't be done on frontend as here we use paginated data that is loaded lazily.
Outcomes
Backend can optionally return sorted (ascending/descending) data mentioned above
Out of scope
Implementing the whole sorting feature (to be possibly done as part of a GSOC project)
There's currently no information on 'Date added` on backend so this won't be returned
Note that 'Date created' is not yet visible in the current table UI but are planned to be added. Even though making the columns visible on frontend is not in the scope of this issue, sorting is expected to work for them as these two fields are the main motivation for the sorting feature in this table.
The text was updated successfully, but these errors were encountered:
Also note that I think that as part of this work, "date_created" and "date_added" will need to be added to the facility users response (endpoint api/auth/facilityuser/?member_of=37b644ecd03062f21a54452f84cfadb6&page=1&page_size=30). I originally assumed we may have it available already, but is not the case:
Overview
To be able to add sorting for Facility -> Users table as designed here
backend needs to be able to return sorted data.
Backend sorting is expected to work for:
Note that sorting in this case can't be done on frontend as here we use paginated data that is loaded lazily.
Outcomes
Out of scope
The text was updated successfully, but these errors were encountered: