Greenstand / Greenstand/treetracker-query-api

Support sorting on `/grower-accounts`

Open
#272 1 comment 0 reactions 1 assignee Claimed by @brena-odwyer View on GitHub
Dominant language
TypeScript
Stars
18
Forks
65
PR merge metrics
No merged PRs in 30d

Description

By default, grower accounts are returned to the Admin Panel sorted by `id` in ascending order.
The current convention in the production Admin Panel is to list Growers in descending order by `reference_id` (a proxy for `created_at`) so that the newest growers show up first, as they're often the ones whose accounts require attention.

We need the query API to support this behaviour for continuity.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.