Skip to content

Commit

Permalink
Fix sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Aug 7, 2024
1 parent 5b4effc commit a41fcd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/src/pages/overview/table/boreholeEditorTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class BoreholeEditorTable extends TTable {
}

componentDidMount() {
const { filter, store, sort } = this.props;
const { filter, store } = this.props;
this.props.clear();
this.props.loadData(store.page, filter, this.props.featureIds, sort?.column ?? "creation", sort?.direction);
this.props.loadData(store.page, filter, this.props.featureIds, store?.orderby, store?.direction);
}

reorder(orderby) {
Expand Down

0 comments on commit a41fcd7

Please sign in to comment.