I am having a problem with the search and filter code

I have the whole day to wait. I will wait