gray-mueller / gray-mueller/grocery-delivery-app-using-php

Dispatch Page Search Box Only Works with Order ID

Open
#21 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
The search box on the "Dispatch" page only returns results when an order ID is entered. It does not work with any other relevant search terms such as restaurant name, customer name, or contact number, making it difficult to quickly locate orders using other identifying information.

To Reproduce
Steps to reproduce the behavior:

Go to the "Dispatch" page.
Enter a restaurant name, customer name, or phone number in the search box.
Observe that no results are returned.
Enter an order ID and observe that results appear.
Expected behavior
The search functionality should support multiple fields such as restaurant name, customer name, and contact number in addition to order ID, to improve order lookup efficiency.

Screenshots

Image

Smartphone (please complete the following information):

Device: Samsung A15

Additional context
This limitation significantly reduces the usability of the Dispatch page, especially for support and operations teams handling high volumes of orders.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the search behavior on the Dispatch page with an order ID, restaurant name, customer name, and contact number. Trace the Dispatch search entry point to identify where matching is limited to order IDs; no file or test is named in the issue. Done means each listed term returns the relevant order while order ID search continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.