[Debtags-commits] [svn] r1892 -
central-database/branches/alioth/webfrontend
Enrico Zini
enrico at costa.debian.org
Mon Sep 4 14:15:40 UTC 2006
Author: enrico
Date: Mon Sep 4 14:15:39 2006
New Revision: 1892
Modified:
central-database/branches/alioth/webfrontend/searchtemplate.html
Log:
Fixed search template in case we have to render invalid facets or tags. But why do they show up?
Modified: central-database/branches/alioth/webfrontend/searchtemplate.html
==============================================================================
--- central-database/branches/alioth/webfrontend/searchtemplate.html (original)
+++ central-database/branches/alioth/webfrontend/searchtemplate.html Mon Sep 4 14:15:39 2006
@@ -355,7 +355,9 @@
{
var tagName = items[i];
var f = voc.get(extractFacet(tagName));
+ if (!f) continue;
var t = f[tagName];
+ if (!t) continue;
res += "<li>\n";
res += "<div class='sefacet'>\n";
More information about the Debtags-commits
mailing list