Skip to content

Commit 749c717

Browse files
committed
Update pysimplesql.py
1 parent db4030d commit 749c717

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pysimplesql/pysimplesql.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -2284,9 +2284,11 @@ def sort(self, table: str, update_elements: bool = True, sort_order=None) -> Non
22842284
22852285
:param table: The table associated with this DataSet. Passed along to
22862286
`DataSet.sort_by_column()`
2287-
:param update_elements: Update associated selectors and navigation buttons.
2287+
:param update_elements: Update associated selectors and navigation buttons, and
2288+
table header sort marker.
22882289
:param sort_order: Passed to `Dataset.update_headings`. A SORT_* constant
2289-
(SORT_NONE, SORT_ASC, SORT_DESC)
2290+
(SORT_NONE, SORT_ASC, SORT_DESC). Note that the update_elements parameter
2291+
must = True to use this parameter.
22902292
:returns: None
22912293
"""
22922294
pk = self.get_current_pk()

0 commit comments

Comments
 (0)