We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50e7430 commit a9928e5Copy full SHA for a9928e5
pysimplesql/pysimplesql.py
@@ -5291,7 +5291,7 @@ def __init__(
5291
def __call__(self, column):
5292
# store the pk:
5293
pk = self.frm[self.data_key].get_current_pk()
5294
- if len(self.frm[data_key].rows.index):
+ if len(self.frm[self.data_key].rows.index):
5295
sort_order = self.frm[self.data_key].sort_cycle(column, self.data_key)
5296
# We only need to update the selectors not all elements,
5297
# so first set by the primary key, then update_selectors()
0 commit comments