1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Fix entry sorting indeterminancy by adding path as secondary sorting key

This commit is contained in:
Jared Hess 2016-01-06 03:40:09 -08:00
parent 3090963beb
commit 68e10ae402

View File

@ -181,7 +181,7 @@ def find_matches(entries, needles, check_entries=True):
data = sorted(
entries,
key=attrgetter('weight'),
key=attrgetter('weight', 'path'),
reverse=True)
return ifilter(