add link_to_facet helper and link subjects and units to facets queries in metadata partial