Allow search to show all users on blank entry

2 replies [Last post]
bkbetts
Offline
Joined: 03/29/2010
Status: 
Answered

Just looking around at some of the 6.10 features, particularly the orders search interface.

I noticed if I cleared the entered text from the name search input box and clicked search, no results were shown. Of course, I can easily get back to the original state of showing all orders by clicking the view orders link.

Maybe it makes more sense to check if the search input value is an empty string, and then just list all orders? Though, if another search metric is added later on, such as order name or something, then some additional logic would need to be added. Maybe just using the view orders link is the best to reset the orders list.

Thanks.

Leighton Whiting
Offline
Joined: 06/02/2009
bkbetts, Strange, it works

bkbetts,
Strange, it works for me if I clear the results. Are you sure you aren't putting a 'space' there instead of a blank entry?

It is already set up to ignore it if the input is blank.

Sincerely,
Leighton Whiting

bkbetts
Offline
Joined: 03/29/2010
Looks like it works as

Looks like it works as expected on my production server but not devel (same versions too). That's okay with me. Will figure out what differences are going on with the devel server. Thanks!

Twitter Feed