Extend targets-template comment to note that we have the "name" field.
[mkws-moved-to-github.git] / src / templates / facet.handlebars
index 22877f3..9307b96 100644 (file)
@@ -6,13 +6,12 @@ caption - caption for this facet
 terms:
   term - term name
   count - count of items matching in the current search for this team
-  linkdata - attributes to add to the term element including an onclick handler
-  field - for the xtargets facet ONLY, the opaque identifier of the target
+  href - link for facet
 }}
 
 <div class="mkws-facet-title mkwsFacetTitle">{{{mkws-translate caption}}}</div>
 {{#each terms}}
   <div class="mkws-term mkwsTerm">
-    <a href="#" {{{linkdata}}}>{{term}}</a> <span>{{count}}</span>
+    <a href="{{href}}">{{term}}</a> <span>{{count}}</span>
   </div>
 {{/each}}