diff --git a/arches/app/media/js/views/components/search/advanced-search.js b/arches/app/media/js/views/components/search/advanced-search.js index de72e4b1bda..2cd996a0882 100644 --- a/arches/app/media/js/views/components/search/advanced-search.js +++ b/arches/app/media/js/views/components/search/advanced-search.js @@ -77,9 +77,11 @@ define([ return graph; }; }); + graph.collapsed = ko.observable(true); graph.cards = ko.computed(function() { var facetFilterText = this.facetFilterText().toLowerCase(); if (facetFilterText) { + graph.collapsed(false); return _.filter(graphCards, function(card) { return card.name.toLowerCase().indexOf(facetFilterText) > -1; }); diff --git a/arches/app/templates/views/components/search/advanced-search.htm b/arches/app/templates/views/components/search/advanced-search.htm index 888224b3612..f8e00b5389c 100644 --- a/arches/app/templates/views/components/search/advanced-search.htm +++ b/arches/app/templates/views/components/search/advanced-search.htm @@ -20,14 +20,17 @@

{% trans "Search Facets" %}

+

+

+