sort the search results before showing
This commit is contained in:
parent
71666fca2e
commit
6b6a4acb58
|
@ -309,6 +309,8 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
}
|
||||
else -> {
|
||||
val files = searchFiles(searchText, currentPath)
|
||||
files.sortBy { it.getParentPath() }
|
||||
|
||||
if (lastSearchedText != searchText) {
|
||||
return@ensureBackgroundThread
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue