Broken implemntation of search panel