Greenstand / Greenstand/treetracker-query-api

Get /organizations/{id} change the order for associated planters

Open
#243 2 comments 0 reactions 1 assignee Claimed by @MundhadHarsh View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
18
Forks
65
PR merge metrics
No merged PRs in 30d

Description

The endpoint: GET /organizations/{id} will return links which includes `associated_planter` currently, this link is: ` /planters?organization_id=${organization.id}&limit=20&offset=0` we need to change it to ` associated_planters: `/organization_id=${organization.id}&limit=20&offset=0&order_by=about` so the planters that has `about` content (not empty) will be ordered on the top of the list.

Prerequisites: https://github.com/Greenstand/treetracker-query-api/issues/242

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.