bug hunting and a (small) new set of widget code
[Evergreen.git] / Open-ILS / src / reporter / templates / widget_manip
index fc82b56..62af297 100644 (file)
@@ -20,7 +20,7 @@ BLOCK widget_selector;
                        '/reporter/tables/table[@id="' _ tableid _
                        '"]/fields/field[(not(@primary) or @primary!="true") or @filterable="true"]';
                FOR c = config.findnodes(columns_xpath);
-                       link_text_xpath = "../../links/link[@field='" _ c.findvalue('@name') _ "']";
+                       link_text_xpath = '../../links/link[@field="' _ c.findvalue('@name') _ '" and (not(@hidden) or @hidden!="false")]';
                        NEXT IF c.findnodes(link_text_xpath);
                        columns.push(c);
                END;