Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Sorting Not Working on Dispatch and Earnings Page

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The sorting functionality on the dispatch page is not working. When clicking on column headers to sort the data, there is no visible change or the sorting is not applied correctly.

To Reproduce
Steps to reproduce the behavior:

Go to the Dispatch page

Click on any column header to sort (e.g., Date, Order ID, etc.)

Observe that the data does not sort as expected or remains unchanged

Expected behavior
Clicking a column header should sort the data in ascending or descending order accordingly.

Screenshots

Image

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Additional context
This issue affects the usability of the dispatch page as it prevents users from organizing data efficiently. Sorting is essential for quick navigation and locating specific records.

Contributor guide

Open the contributing guide

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 opening the Dispatch page in Chrome and tracing the column-header sorting behavior for fields such as Date and Order ID. Reproduce the issue with the dispatch data, then verify that clicking a header visibly orders the records ascending and descending as expected; the issue title also mentions the Earnings page, so check whether it shares the same behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.