implemented filter results by category on search