moves assethost token to param for search function in index view