sort the search results before showing
This commit is contained in:
parent
71666fca2e
commit
6b6a4acb58
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue