We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3d99c6 + 8904567 commit 0e89ed2Copy full SHA for 0e89ed2
source/views/sis/course-search/search.js
@@ -83,6 +83,12 @@ class CourseSearchView extends React.Component<Props, State> {
83
this.resetFilters()
84
}
85
86
+ componentWillUnmount() {
87
+ if (this.state.mode === 'browsing') {
88
+ this.props.updateRecentFilters(this.state.filters)
89
+ }
90
91
+
92
loadData = async () => {
93
this.setState(() => ({mode: 'loading'}))
94
0 commit comments