From 9e62d78e1cdef0fcfcbf907552e2afaf59481a2b Mon Sep 17 00:00:00 2001 From: George Yohng Date: Sun, 21 Apr 2024 21:08:49 +0800 Subject: [PATCH] Fix inconsistency between column ordering in the GUI and the database reference that prevents proper sorting. --- library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.py b/library.py index 0ebbd12..c5615b0 100644 --- a/library.py +++ b/library.py @@ -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"