Description:
Currently, there is a bug in the search functionality of our orders page. When a user clicks the search button without entering any text in the search field, the page displays all orders instead of returning an empty result. This behavior is unexpected and can be confusing for users who expect to see an empty result when no search terms are entered.
Steps to Reproduce:
Navigate to the orders page
Click on the search button without entering any text in the search field
Expected Result:
The page should display an empty result since no search terms were entered.
Actual Result:
The page displays all orders, which is unexpected behavior.
Proposed Solution:
The search button should be disabled when the search field is empty to prevent users from triggering a search without entering any search terms. Additionally, a message should be displayed to inform users that they need to enter search terms before performing a search.
Impact:
This bug affects all users who use the search functionality on the orders page. It can cause confusion and frustration for users who expect the search results to reflect their search terms.
Description: Currently, there is a bug in the search functionality of our orders page. When a user clicks the search button without entering any text in the search field, the page displays all orders instead of returning an empty result. This behavior is unexpected and can be confusing for users who expect to see an empty result when no search terms are entered.
Steps to Reproduce:
Expected Result: The page should display an empty result since no search terms were entered.
Actual Result: The page displays all orders, which is unexpected behavior.
Proposed Solution: The search button should be disabled when the search field is empty to prevent users from triggering a search without entering any search terms. Additionally, a message should be displayed to inform users that they need to enter search terms before performing a search.
Impact: This bug affects all users who use the search functionality on the orders page. It can cause confusion and frustration for users who expect the search results to reflect their search terms.