[Tablet Support M2] Searching and creating new order can make it look like store doesn't have orders anymore #10863
Closed
Description
opened on Feb 19, 2024
Describe the bug
Searching and then editing an order or creating one can lead to a couple of odd outcomes:
- the order list can show an order that doesn't match with the order details shown
- the order list can show 0 orders even if the store does have orders
To Reproduce
Steps to reproduce the behavior:
- Go to orders list for a store that has some orders
- Search for something that will return a result
- Use X is search bar to clear search results
- Edit order in right pane
- Note that, after refresh, returns the search result from step 2
- Repeat 2-4, but input search term that will not return a result
- Note that you see prompt to add a test order since your store "doesn't have" any
Screenshots
https://github.com/woocommerce/woocommerce-android/assets/103850310/9a58579d-fb3b-4578-b1bf-e9305e223f3d
Expected behavior
X'ing out of search bar results should bring user back to full order list. Even if it doesn't, trying to go back seems odd. Regardless, we shouldn't accurately reflect existing store orders
Isolating the problem (mark completed items with an [x]):
- I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
- This bug happens with a default WordPress theme active, or Storefront.
- I can reproduce this bug consistently using the steps above.
Mobile Environment
Please include:
- Device: Nexus 7 (via emulator)
- Android version: Android 14.0
- WooCommerce Android version: Better tablet orders M2
Activity