Skip to content

Commit a9928e5

Browse files
committed
small fix
you're right, somethings still borked with sorting. sorry, this at least gets it in a workable state.
1 parent 50e7430 commit a9928e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysimplesql/pysimplesql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5291,7 +5291,7 @@ def __init__(
52915291
def __call__(self, column):
52925292
# store the pk:
52935293
pk = self.frm[self.data_key].get_current_pk()
5294-
if len(self.frm[data_key].rows.index):
5294+
if len(self.frm[self.data_key].rows.index):
52955295
sort_order = self.frm[self.data_key].sort_cycle(column, self.data_key)
52965296
# We only need to update the selectors not all elements,
52975297
# so first set by the primary key, then update_selectors()

0 commit comments

Comments
 (0)