clear the search field if an error message is displayed
clear the search field if an error message is displayed

using regex instead of storing a variable because managing cope is trickier

uw-it-aca/pivot,uw-it-aca/pivot,uw-it-aca/pivot,uw-it-aca/pivot,uw-it-aca/pivot