From dcd7803f5d3dd8dcf75c26bc8a24a380e9210b5a Mon Sep 17 00:00:00 2001 From: Kim Rutherford Date: Fri, 1 Mar 2024 08:34:56 +1300 Subject: [PATCH] Show child term definition on mouse-over Refs pombase/canto#2796 --- lib/Canto/Track/OntologyLookup.pm | 2 +- root/static/ng_templates/term_children.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Canto/Track/OntologyLookup.pm b/lib/Canto/Track/OntologyLookup.pm index 42a6781ba..4acb4909d 100644 --- a/lib/Canto/Track/OntologyLookup.pm +++ b/lib/Canto/Track/OntologyLookup.pm @@ -190,7 +190,7 @@ sub _make_term_hash if (!$seen{$child_cvterm->cvterm_id()}) { push @child_hashes, {$self->_make_term_hash($child_cvterm, - $child_cvterm->cv()->name(), 0, 0, 0, undef)}; + $child_cvterm->cv()->name(), 1, 0, 0, undef)}; $seen{$child_cvterm->cvterm_id()} = 1; } } diff --git a/root/static/ng_templates/term_children.html b/root/static/ng_templates/term_children.html index 7c07a26bd..31b621b5e 100644 --- a/root/static/ng_templates/term_children.html +++ b/root/static/ng_templates/term_children.html @@ -11,7 +11,8 @@