           name: 'search'
           onChange: @onChange
           placeholder: osu.trans('beatmaps.listing.search.prompt')
-          value: @state.query
+          value: @props.filters.query
         div className: 'beatmapsets-search__icon',
           i className: 'fas fa-search'
 


    @breadcrumbsElement?.appendChild @breadcrumbsPortal
    @contentElement?.appendChild @contentPortal


  componentDidUpdate: (prevProps, prevState) =>
    @debouncedSubmit @state.query if prevState.query != @state.query


  componentWillUnmount: =>

    @debouncedSubmit = _.debounce @submit, 500
    @breadcrumbsElement = window.stickyHeader.breadcrumbsElement()
    @contentElement = window.stickyHeader.contentElement()


  componentDidMount: =>
