Skip to content

Commit

Permalink
fix: preserve column sorting preferences in data browser (#2016)
Browse files Browse the repository at this point in the history
  • Loading branch information
visualfanatic authored Jan 26, 2022
1 parent fef1e25 commit c2e6557
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/dashboard/Data/Browser/Browser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,13 @@ class Browser extends DashboardView {
),
selection: {},
relation: isRelationRoute ? relation : null,
}, () => {
if (isRelationRoute) {
this.fetchRelation(relation, filters);
} else if (className) {
this.fetchData(className, filters);
}
});
if (isRelationRoute) {
this.fetchRelation(relation, filters);
} else if (className) {
this.fetchData(className, filters);
}
}

extractFiltersFromQuery(props) {
Expand Down

0 comments on commit c2e6557

Please sign in to comment.