Skip to content
Snippets Groups Projects
Commit c2bcf711 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix tx history descending sort order

parent 44f735b5
No related branches found
No related tags found
1 merge request!7750.50.0
...@@ -132,7 +132,7 @@ class HistoryTableModel(QAbstractTableModel): ...@@ -132,7 +132,7 @@ class HistoryTableModel(QAbstractTableModel):
ts_to=self.ts_to, ts_to=self.ts_to,
stopline_hash=STOPLINE_HASH, stopline_hash=STOPLINE_HASH,
sort_by=HistoryTableModel.columns_to_sql[self.main_column_id], sort_by=HistoryTableModel.columns_to_sql[self.main_column_id],
sort_order="ASC" if Qt.AscendingOrder else "DESC", sort_order="ASC" if self.order == Qt.AscendingOrder else "DESC",
) )
def change_transfer(self, transfer): def change_transfer(self, transfer):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment