Adding LinkWithSearch function

Includes link on search type links which adds search params so search doesn't reset when changing view