mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Also wrap the filesearch result node to filter out empty children set
This commit is contained in:
parent
0388bfd065
commit
2557aed21c
@ -48,6 +48,7 @@ import org.openide.NotifyDescriptor;
|
||||
import org.sleuthkit.autopsy.casemodule.Case;
|
||||
import org.sleuthkit.autopsy.corecomponentinterfaces.DataExplorer;
|
||||
import org.sleuthkit.autopsy.corecomponents.DataResultTopComponent;
|
||||
import org.sleuthkit.autopsy.corecomponents.TableFilterNode;
|
||||
import org.sleuthkit.autopsy.filesearch.FileSearchFilter.FilterValidationException;
|
||||
import org.sleuthkit.datamodel.FsContent;
|
||||
import org.sleuthkit.datamodel.SleuthkitCase;
|
||||
@ -174,7 +175,7 @@ public final class FileSearchTopComponent extends TopComponent implements DataEx
|
||||
logger.log(Level.WARNING, "Error while trying to get the number of matches.", ex);
|
||||
}
|
||||
|
||||
TopComponent searchResultWin = DataResultTopComponent.createInstance(title, pathText, new SearchNode(fsContentList), totalMatches);
|
||||
TopComponent searchResultWin = DataResultTopComponent.createInstance(title, pathText, new TableFilterNode(new SearchNode(fsContentList), true), totalMatches);
|
||||
|
||||
searchResultWin.requestActive(); // make it the active top component
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user