Typing on my phone so apologies if my wording confused. I never restore a search but I do restore the restriction which might have been from a custom search. Your suggested code is what I would have done but wanted to make sure I wasn't missing something. It would be too weird for the clear search button to actually result in a search