gray-mueller / gray-mueller/foodpanda-clone-using-react-native

Search Box on Dispatch Page Not Filtering Orders by Store Name

Open
#83 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
On the dispatch page in the admin panel, the search keyword textbox is not filtering orders based on the store name. Entering a store name into the search field yields no results, even when there are clearly visible orders from that store in the list.

To Reproduce
Steps to reproduce the behavior:

Log in to the admin panel
Navigate to the Dispatch page
In the search textbox, type the name of a store that has active orders listed
Observe that the search does not filter or return any matching results
Expected behavior
Typing a valid store name should filter and display only the orders associated with that store in real-time or upon submission.

Screenshots

Recording.2025-06-17.102544.mp4
Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Version: [e.g., 123.0.6312.86]

Additional context
This bug affects the efficiency of order management by preventing admins or dispatchers from quickly narrowing down orders by store. It may be due to missing query logic or improper field mapping in the search functionality.

Contributor guide

Open the contributing guide

Research direction

Start at the admin panel's Dispatch page and reproduce the search with a store that has active orders. Trace how the search textbox filters the visible order list and inspect the store-name field mapping or query logic. Done means entering a valid store name returns the associated orders while excluding unrelated ones.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
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.