Probable typo
This commit is contained in:
parent
38a94e774b
commit
87a77163de
@ -8,9 +8,9 @@ init python:
|
||||
|
||||
if sortby == "z-A":
|
||||
item.sort(key=lambda x: natsort_key(x.name), reverse=True)
|
||||
elif current_sorting == "Available":
|
||||
elif sortby == "Available":
|
||||
item.sort(key=lambda x: x.owned is True, reverse=True)
|
||||
elif current_sorting == "Unavailable":
|
||||
elif sortby == "Unavailable":
|
||||
item.sort(key=lambda x: x.owned is False)
|
||||
|
||||
return item
|
||||
|
Loading…
Reference in New Issue
Block a user