-
-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
Sorting in filepanel does not works when we use searchbar
To Reproduce
Steps to reproduce the behavior:
- Put something is searchbar
- Try to sort by pressing 'o'
Expected behavior
Sorting should work
Screenshots
System information (please complete the following information):
MacOS 15, spf v1.3.0
Its because we have this
// Get file names based on search bar filter
if filePanel.searchBar.Value() != "" {
fileElement = returnDirElementBySearchString(filePanel.location, m.toggleDotFile, filePanel.searchBar.Value())
} else {
fileElement = returnDirElement(filePanel.location, m.toggleDotFile, filePanel.sortOptions.data)
}And
returnDirElementBySearchString this doesn't have file sorting logic. Only returnDirElement has file sorting logic
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers