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:
parent
3090963beb
commit
68e10ae402
@ -181,7 +181,7 @@ def find_matches(entries, needles, check_entries=True):
|
|||||||
|
|
||||||
data = sorted(
|
data = sorted(
|
||||||
entries,
|
entries,
|
||||||
key=attrgetter('weight'),
|
key=attrgetter('weight', 'path'),
|
||||||
reverse=True)
|
reverse=True)
|
||||||
|
|
||||||
return ifilter(
|
return ifilter(
|
||||||
|
Loading…
Reference in New Issue
Block a user