- return html;
-};
-
-Drupal.theme.prototype.mkdruFacetLimit = function (term, link) {
- if (term) {
- return '<p>' + Drupal.t('Only displaying ') + term.name + '</p>'
- + '<p><a href="' + link + '">' + Drupal.t('Show all...') + '</a></p>';
+ //TODO, meed to look up target name from ID
+ var sel = selections[facet];
+ if (terms.length == 0 && sel && sel.length) {
+ for (var i=0; i<sel.length; i++) {
+ if (sel[i]) {
+ html += '<a class="cross" href="'+mkdru.removeLimit(facet, sel[i])
+ + '"><strong>'+sel[i]+'</strong></a><span> (0)</span><br/>';
+ }
+ }