Sort fits during search the same way they are sorted normally
This commit is contained in:
@@ -297,7 +297,7 @@ class Fit(object):
|
||||
results = eos.db.searchFits(name)
|
||||
fits = []
|
||||
|
||||
for fit in results:
|
||||
for fit in sorted(results, key=lambda f: (f.ship.item.group.name, f.ship.item.name, f.name)):
|
||||
fits.append((
|
||||
fit.ID,
|
||||
fit.name,
|
||||
|
||||
Reference in New Issue
Block a user