Skip to content

Commit 0c7712f

Browse files
authored
Merge pull request #28 from ProggerX/fix-reverse-sorting
Fix #27
2 parents 27d7a09 + cb168f9 commit 0c7712f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/toru/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func fzfEpisodes(m []*torrent.File) (string, error) {
224224
}
225225
}
226226

227-
return m[idx].DisplayPath(), nil
227+
return m[l-idx].DisplayPath(), nil
228228
}
229229

230230
func fzfMenu(m []nyaa.Media) (nyaa.Media, error) {

0 commit comments

Comments
 (0)