gray-mueller / gray-mueller/food-ordering-app-using-python
Dispatch Page Search Box Only Works with Order ID
- Lenguaje dominante
- JavaScript
- Estrellas
- 4
- Forks
- 3
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza por la implementación de búsqueda de la página Dispatch y reproduce el comportamiento con un ID de pedido, el nombre del restaurante, el nombre del cliente y el número de contacto. Sigue cómo se procesa cada término y verifica después que todos los campos de identificación indicados devuelvan los pedidos esperados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100