We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae70106 commit 1062413Copy full SHA for 1062413
src/resource-manager/resource_templates.js
@@ -22,7 +22,9 @@ templates.resource_tree =
22
_expander_extras:function(context, pivotID, depth)
23
{
24
var hash = context.collapsed;
25
- if (!hash.hasOwnProperty(pivotID))
+ if (context.searchTerm != '')
26
+ hash[pivotID] = false;
27
+ else if (!hash.hasOwnProperty(pivotID))
28
hash[pivotID] = depth>1;
29
30
var collapsed = hash[pivotID];
0 commit comments