X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdru.theme.js;fp=mkdru.theme.js;h=034b4033c50969a7a93d099c4eb248b40d3c62e0;hb=b679d2c7230790421eab09d042f37c220cb80e29;hp=5af43eed99464e33e8cbfe354ed1a7edf632bdb6;hpb=d576c9a086d8a41794f70ae5f142768aba2de9a4;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index 5af43ee..034b403 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -124,13 +124,17 @@ Drupal.theme.prototype.mkdruFacet = function (terms, facet, max, selections) { html += ' (' + terms[i].freq + ')
'; } - //TODO, meed to look up target name from ID if (terms.length == 0 && selections && selections.length) { for (var i=0; i'+selections[i]+' (0)
'; + + '">'+name+' (0)
'; } } }