jamesplease / jamesplease/api-pls

Support sorting

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
10
Forks
1
PR merge metrics
No merged PRs in 30d

Description

`?sort=-created,title`

v1 of this only needs to support it on the primary resource. I can make it more robust in a follow up PR.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the primary resource request handling and how query parameters are parsed. Trace the `sort` parameter for the example `?sort=-created,title`, then verify that descending `created` and ascending `title` sorting work on the primary resource. Keep the first version limited to that resource, as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.