Merck / Merck/BioPhi

Implement sorting on the backend

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
Python
Stars
265
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Result tables should be sortable, now it's implemented in javascript, it only works if we have <= 10 results. We should sort on the backend using a query argument like ?sort=my_column

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the result-table data flow from the existing JavaScript sorting to the backend response, then identify where a query argument such as ?sort=my_column can be handled. Verify that sorting works through the backend for result sets larger than 10 and that the table displays the requested order.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.