Closed phillipcornwell closed 3 years ago
Reported in 17535522-hc
Hi @phillipcornwell
Thank you for reporting the issue. WooCommerce / Customers functionality is a part of WooCommerce Admin which is being developed in another repository: https://github.com/woocommerce/woocommerce-admin.
I am going to move your bug report there so that the right team could take a look further.
Confirmed that this bug is still present in the current main
.
First search always comes up empty, with subsequent searches working correctly (until you refresh the page).
Hi @phillipcornwell @joelclimbsthings ✋
I'm trying to reproduce it in my local env, but I can't reproduce it exactly how it is described.
I see two XHR requests to the server and the screen blinks, but I did not have to hit the search button twice.
Could you please share how you reproduce it? or am I missing any steps?
Thank you!
Update 1: I've also tested it with guest customers.
Thanks for looking at this @moon0326 , and sorry for the delay! I'm still definitely able to reproduce this, or at the very least some finicky behavior around this.
If you simply plug the first name of a customer into the URL (like so: /wp-admin/admin.php?page=wc-admin&path=%2Fcustomers&search=Joe
), and then do a page load, do the results come up for you then? I always get no results via that method.
Then, if I click the (x) button to clear the search, the search field doesn't seem to be clickable at all and I have to refresh or go to another screen and back to interact with it.
In summary:
/wp-admin/admin.php?page=wc-admin&path=%2Fcustomers&search=NAME_OF_CUSTOMER
I'm also able to reproduce the error more as described in the original report:
/wp-admin/admin.php?page=wc-admin&path=%2Fcustomers
.This is with the latest main
branch, on both Chrome and Firefox.
Edit: No worries if you can't reproduce, I may have a chance to look at this this sprint.
Also reported in https://wordpress.org/support/topic/buggy-experience-in-the-customers-section/. I can replicate this as well on my site.
Issue
When searching for a customer in "WooCommerce → Customers" it is necessary to search for a customer twice before they show up in the search results. They have a DB mismatch too but we couldn't get that fixed. They are working with their host on that. My system shows the same behavior with WC 5.2.1
Prerequisites (mark completed items with an [x]):
Describe the bug When searching for a customer in the Customers section of the site it is necessary to search for a user twice before they show in the search results
Expected behavior The customer should show after the first search attempt.
Actual behavior It takes a second attempt at the search to get the proper result.
Steps to reproduce the bug (We need to be able to reproduce the bug in order to fix it.) Steps to reproduce the bug:
Screenshots First search: https://www.dropbox.com/s/45sel4shz0b1q6q/Screen%20Shot%202021-04-15%20at%203.33.00%20PM.jpg?dl=0 Second search: https://www.dropbox.com/s/sbm1vt28hnca7m7/Screen%20Shot%202021-04-15%20at%203.33.41%20PM.jpg?dl=0
Isolating the problem (mark completed items with an [x]):
WordPress Environment We use the WooCommerce System Status Report to help us evaluate the issue. Without this report we won't be able to fully evaluate this issue.