Pass term to dosearch() view