mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
6305 hook up sorting algorithms correctly
This commit is contained in:
parent
cf89bc536d
commit
620355db2d
@ -6,9 +6,6 @@
|
||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[1000, 300]"/>
|
||||
</Property>
|
||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[1200, 600]"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<SyntheticProperties>
|
||||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
||||
|
@ -401,6 +401,7 @@ final class DiscoveryDialog extends javax.swing.JDialog {
|
||||
if (tc.isOpened() == false) {
|
||||
tc.open();
|
||||
}
|
||||
|
||||
tc.resetTopComponent();
|
||||
List<FileSearchFiltering.FileFilter> filters;
|
||||
if (videosButton.isSelected()) {
|
||||
@ -413,11 +414,11 @@ final class DiscoveryDialog extends javax.swing.JDialog {
|
||||
DiscoveryEventUtils.getDiscoveryEventBus().post(new DiscoveryEventUtils.SearchStartedEvent(fileType));
|
||||
|
||||
// Get the grouping attribute and group sorting method
|
||||
FileSearch.AttributeType groupingAttr = FileSearch.GroupingAttributeType.FILE_SIZE.getAttributeType();
|
||||
FileGroup.GroupSortingAlgorithm groupSortAlgorithm = FileGroup.GroupSortingAlgorithm.BY_GROUP_NAME;
|
||||
FileSearch.AttributeType groupingAttr = groupByCombobox.getItemAt(groupByCombobox.getSelectedIndex()).getAttributeType();
|
||||
FileGroup.GroupSortingAlgorithm groupSortAlgorithm = groupSortingComboBox.getItemAt(groupSortingComboBox.getSelectedIndex());
|
||||
|
||||
// Get the file sorting method
|
||||
FileSorter.SortingMethod fileSort = FileSorter.SortingMethod.BY_FILE_NAME;
|
||||
FileSorter.SortingMethod fileSort = (FileSorter.SortingMethod) orderByCombobox.getSelectedItem();
|
||||
CentralRepository centralRepoDb = null;
|
||||
if (CentralRepository.isEnabled()) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user