preview button uses whatever the user has searched in admin