Skip to content

Commit

Permalink
Fix #466, sort by stock
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouni committed Jul 3, 2024
1 parent a70c548 commit a82bb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ def set_order_by(self, n):
"Package",
"Solder Joint",
"Library Type",
"Stock",
"Manufacturer",
"Description",
"Price",
"Stock",
]
if self.order_by == order_by[n] and self.order_dir == "ASC":
self.order_dir = "DESC"
Expand Down

0 comments on commit a82bb7b

Please sign in to comment.