Skip to content

Commit b5ce689

Browse files
committed
only show if of right type
1 parent 0edc8ce commit b5ce689

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit c7c03dad5d489175fc94ba2aca845fde57cf62b5

ontology_content.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
echo "<h2>${group_label}</h2>\n";
1919
echo "<ol>\n";
2020
foreach ($defines as $defined) {
21+
if (!$complete_graph->resource_is_of_type($defined, $group_type)) {
22+
continue;
23+
}
2124
$anchor = end(explode("/", $defined));
2225
echo "\t<li class=\"datatype\">";
2326
echo "<a name=\"${anchor}\"></a>";

0 commit comments

Comments
 (0)