CRM-14921 retain context from custom search