activate pdf search func > app/views.py