search feature fully working minus ajax bug